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:
- Serializable
public class ScriptExitException
- extends 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 |
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)
getExitCode
public int getExitCode()
Copyright (c) 2005-2009 The Grails project