Griffon 1.2.0

org.codehaus.griffon.cli
[Java] Class ScriptExitException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          java.lang.RuntimeException
              org.codehaus.griffon.cli.ScriptExitException

public class ScriptExitException
extends RuntimeException

Exception thrown when a script exits, but Griffon has disabled the system exit. Used for testing and Griffon interactive mode.


Field Summary
private int exitCode

 
Constructor Summary
ScriptExitException(int exitCode)

ScriptExitException(int exitCode, String message, Throwable cause)

ScriptExitException(int exitCode, String message)

ScriptExitException(int exitCode, Throwable cause)

 
Method Summary
int getExitCode()

 
Methods inherited from class RuntimeException
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Exception
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 

Field Detail

exitCode

private int exitCode


 
Constructor Detail

ScriptExitException

public ScriptExitException(int exitCode)


ScriptExitException

public ScriptExitException(int exitCode, String message, Throwable cause)


ScriptExitException

public ScriptExitException(int exitCode, String message)


ScriptExitException

public ScriptExitException(int exitCode, Throwable cause)


 
Method Detail

getExitCode

public int getExitCode()


 

Groovy Documentation