public class GroovyBugError
extends java.lang.AssertionError
| Constructor and Description | 
|---|
GroovyBugError(java.lang.Exception exception)
Constructs a bug error using the given exception 
 | 
GroovyBugError(java.lang.String message)
constructs a bug error using the given text 
 | 
GroovyBugError(java.lang.String msg,
              java.lang.Exception exception)
Constructs a bug error using the given exception and
 a text with additional information about the cause 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getBugText()
Returns the bug text to describe this error 
 | 
java.lang.Throwable | 
getCause()  | 
java.lang.String | 
getMessage()
Returns the detail message string of this error. 
 | 
void | 
setBugText(java.lang.String msg)
Sets the bug text to describe this error 
 | 
java.lang.String | 
toString()
Returns a String representation of this class by calling  
getMessage(). | 
public GroovyBugError(java.lang.String message)
message - the error message textpublic GroovyBugError(java.lang.Exception exception)
exception - cause of this errorpublic GroovyBugError(java.lang.String msg,
              java.lang.Exception exception)
msg - additional information about this errorexception - cause of this errorpublic java.lang.String toString()
getMessage().toString in class java.lang.ThrowablegetMessage()public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic java.lang.String getBugText()
public void setBugText(java.lang.String msg)