[Java] Class GroovyException
- org.codehaus.groovy.GroovyException
- All Implemented Interfaces and Traits:
- GroovyExceptionInterface
public class GroovyException extends Exception implements GroovyExceptionInterface
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 |
---|---|---|
public boolean |
isFatal() | |
public void |
setFatal(boolean fatal) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Exception | printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getSuppressed, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, 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/3.0.7/html/gapi/org/codehaus/groovy/GroovyException.html