| Modifier and Type | Field and Description |
|---|---|
| private final Exception | |
| private String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | GroovyBugError(Exception
cause of this error exception)Constructs a bug error using the given exception |
| public | GroovyBugError(String
additional information about this error msg, Exception cause of this error exception)Constructs a bug error using the given exception and a text with additional information about the cause |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Throwable | getCause()
Overrides java. null if the
cause is nonexistent or unknown.
|
| public String | Returns: the detail message string of this error.Overrides java. |
| public void | |
| public String | toString()
Overrides java. getMessage().
|
| exception | back to summary |
|---|---|
| private final Exception exception | |
| message | back to summary |
|---|---|
| private String message | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| GroovyBugError | back to summary |
|---|---|
| public GroovyBugError(String message) constructs a bug error using the given text
| |
| GroovyBugError | back to summary |
|---|---|
| public GroovyBugError(Exception exception) Constructs a bug error using the given exception
| |
| GroovyBugError | back to summary |
|---|---|
| public GroovyBugError(String msg, Exception exception) Constructs a bug error using the given exception and a text with additional information about the cause | |
| getBugText | back to summary |
|---|---|
| public String getBugText() Returns the bug text to describe this error | |
| getCause | back to summary |
|---|---|
| public Throwable getCause() Overrides java. Doc from java. Returns the cause of this throwable or This implementation returns the cause that was supplied via one of
the constructors requiring a
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Returns the detail message string of this error. The message will consist of the bug text prefixed by "BUG! " if there this instance was created using a message. If this error was constructed without using a bug text the message of the cause is used prefixed by "BUG! UNCAUGHT EXCEPTION: "
| |
| setBugText | back to summary |
|---|---|
| public void setBugText(String msg) Sets the bug text to describe this error | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a String representation of this class by calling
| |