@groovy.transform.CompileStatic class GloopException extends java.lang.Exception
The base Gloop Exception class. Should be thrown in gloop steps. Like a normal java exception except that it builds itself a gloop stack trace also when constructed
Type | Name and description |
---|---|
GloopExecutionContext |
context |
GloopStackTraceElement[] |
gloopStackTrace |
Constructor and description |
---|
GloopException
() |
GloopException
(GloopExecutionContext context, java.lang.String message) |
GloopException
(java.lang.String message) |
GloopException
(java.lang.String message, java.lang.Throwable cause) |
GloopException
(GloopExecutionContext context, java.lang.String message, java.lang.Throwable cause) |
GloopException
(java.lang.Throwable cause) |
GloopException
(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace) |
GloopException
(GloopExecutionContext context, java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
printGloopStackTrace() |
|
void |
printGloopStackTrace(java.io.PrintStream s) Prints this throwable and its backtrace to the specified print stream. |
|
void |
printGloopStackTrace(java.io.PrintWriter s) |
|
void |
printStackTrace() |
|
void |
printStackTrace(java.io.PrintStream s) |
|
void |
printStackTrace(java.io.PrintWriter s) |
Methods inherited from class | Name |
---|---|
class java.lang.Exception |
java.lang.Exception#printStackTrace(java.io.PrintStream), java.lang.Exception#printStackTrace(), java.lang.Exception#printStackTrace(java.io.PrintWriter), java.lang.Exception#fillInStackTrace(), java.lang.Exception#getCause(), java.lang.Exception#initCause(java.lang.Throwable), java.lang.Exception#toString(), java.lang.Exception#getMessage(), java.lang.Exception#getLocalizedMessage(), java.lang.Exception#getStackTrace(), java.lang.Exception#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.Exception#addSuppressed(java.lang.Throwable), java.lang.Exception#getSuppressed(), java.lang.Exception#wait(long, int), java.lang.Exception#wait(long), java.lang.Exception#wait(), java.lang.Exception#equals(java.lang.Object), java.lang.Exception#hashCode(), java.lang.Exception#getClass(), java.lang.Exception#notify(), java.lang.Exception#notifyAll() |
Prints this throwable and its backtrace to the specified print stream.
s
- PrintStream
to use for outputGroovy Documentation