org.codehaus.groovy.grails.cli
Class ScriptExitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.codehaus.groovy.grails.cli.ScriptExitException
- All Implemented Interfaces:
- java.io.Serializable
public class ScriptExitException
- extends java.lang.RuntimeException
Exception thrown when a script exits, but Grails has disabled the
system exit. Used for testing and Grails interactive mode.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ScriptExitException
public ScriptExitException(int exitCode)
ScriptExitException
public ScriptExitException(int exitCode,
java.lang.String message,
java.lang.Throwable cause)
ScriptExitException
public ScriptExitException(int exitCode,
java.lang.String message)
ScriptExitException
public ScriptExitException(int exitCode,
java.lang.Throwable cause)
getExitCode
public int getExitCode()