[Java] Class GroovyException
- org.codehaus.groovy.GroovyException
- All Implemented Interfaces and Traits:
- GroovyExceptionInterface
public class GroovyException extends Exception
Constructor Summary
Constructor and description |
---|
GroovyException
() |
GroovyException
(String message) |
GroovyException
(String message, Throwable cause) |
GroovyException
(boolean fatal) |
GroovyException
(String message, boolean fatal) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
boolean |
isFatal() | |
void |
setFatal(boolean fatal) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Exception | printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
class Throwable | printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Constructor Detail
public GroovyException()
public GroovyException(String message)
public GroovyException(String message, Throwable cause)
public GroovyException(boolean fatal)
public GroovyException(String message, boolean fatal)
Method Detail
public boolean isFatal()
public void setFatal(boolean fatal)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/GroovyException.html