edu.cmu.cs.crystal.cfg.eclipse
Class Try

java.lang.Object
  extended by edu.cmu.cs.crystal.cfg.eclipse.Try

public class Try
extends Object

Author:
Ciera Jaspan

Constructor Summary
Try()
           
 
Method Summary
 int catchThrowsWithFinally(String message, int foo, int bar, boolean cond)
           
 void catchThrowsWithFinallyTest()
           
 void catchUsingException()
           
 void catchUsingExceptionTest()
           
 void finallyHasTryTest()
           
 void nestTryFinally(String message)
           
 void nestTryFinallyTest()
           
 void runtimeExpTest()
           
static void setup()
           
 void simple(String message, int foo)
           
 void simpleFinally(String message, int foo)
           
 int simpleFinallyReturning(String message, int foo, int bar, boolean cond)
           
 void simpleFinallyReturningTest()
           
 void simpleFinallyTest()
           
 int simpleReturning(String message, int foo)
           
 void simpleReturningTest()
           
 void simpleTest()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Try

public Try()
Method Detail

setup

public static void setup()
                  throws CoreException
Throws:
CoreException

simpleReturningTest

public void simpleReturningTest()
                         throws Exception
Throws:
Exception

simpleReturning

public int simpleReturning(String message,
                           int foo)

simpleTest

public void simpleTest()
                throws Exception
Throws:
Exception

simple

public void simple(String message,
                   int foo)

simpleFinallyTest

public void simpleFinallyTest()
                       throws Exception
Throws:
Exception

simpleFinally

public void simpleFinally(String message,
                          int foo)

simpleFinallyReturningTest

public void simpleFinallyReturningTest()
                                throws Exception
Throws:
Exception

simpleFinallyReturning

public int simpleFinallyReturning(String message,
                                  int foo,
                                  int bar,
                                  boolean cond)

catchThrowsWithFinallyTest

public void catchThrowsWithFinallyTest()
                                throws Exception
Throws:
Exception

catchThrowsWithFinally

public int catchThrowsWithFinally(String message,
                                  int foo,
                                  int bar,
                                  boolean cond)
                           throws Exception
Throws:
Exception

nestTryFinallyTest

public void nestTryFinallyTest()
                        throws Exception
Throws:
Exception

nestTryFinally

public void nestTryFinally(String message)

catchUsingExceptionTest

public void catchUsingExceptionTest()
                             throws Exception
Throws:
Exception

catchUsingException

public void catchUsingException()

finallyHasTryTest

public void finallyHasTryTest()
                       throws Exception
Throws:
Exception

runtimeExpTest

public void runtimeExpTest()
                    throws Exception
Throws:
Exception