public class GroovyBugError extends AssertionError
| Constructor and Description | 
|---|
GroovyBugError(Exception exception)
Constructs a bug error using the given exception 
 | 
GroovyBugError(String message)
constructs a bug error using the given text 
 | 
GroovyBugError(String msg,
              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 | 
|---|---|
String | 
getBugText()
Returns the bug text to describe this error 
 | 
Throwable | 
getCause()  | 
String | 
getMessage()
Returns the detail message string of this error. 
 | 
void | 
setBugText(String msg)
Sets the bug text to describe this error 
 | 
String | 
toString()
Returns a String representation of this class by calling  
getMessage(). | 
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic GroovyBugError(String message)
message - the error message textpublic GroovyBugError(Exception exception)
exception - cause of this errorpublic String toString()
getMessage().toString in class ThrowablegetMessage()public String getMessage()
getMessage in class Throwablepublic String getBugText()
public void setBugText(String msg)