W3cubDocs

/Groovy 3.0

[Java] Class GroovyException

  • org.codehaus.groovy.GroovyException
All Implemented Interfaces and Traits:
GroovyExceptionInterface
public class GroovyException
extends Exception
implements GroovyExceptionInterface

Constructor Summary

Constructors
Constructor and description
GroovyException ()
GroovyException (String message)
GroovyException (String message, Throwable cause)
GroovyException (boolean fatal)
GroovyException (String message, boolean fatal)

Methods Summary

Methods
Type Params Return Type Name and description
public boolean isFatal()
public void setFatal(boolean fatal)

Inherited Methods Summary

Inherited Methods
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