Package org.codehaus.groovy
Class GroovyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.groovy.GroovyException
- All Implemented Interfaces:
Serializable
,GroovyExceptionInterface
- Direct Known Subclasses:
ReadException
,SyntaxException
public class GroovyException extends Exception implements GroovyExceptionInterface
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description GroovyException()
GroovyException(boolean fatal)
GroovyException(String message)
GroovyException(String message, boolean fatal)
GroovyException(String message, Throwable cause)
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GroovyException
public GroovyException() -
GroovyException
-
GroovyException
-
GroovyException
public GroovyException(boolean fatal) -
GroovyException
-
-
Method Details
-
isFatal
public boolean isFatal()- Specified by:
isFatal
in interfaceGroovyExceptionInterface
-
setFatal
public void setFatal(boolean fatal)- Specified by:
setFatal
in interfaceGroovyExceptionInterface
-