public final class AssertionViolatedException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
detailMessage
The error message.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
AssertionViolatedException()
Constructs a new AssertionViolatedException with null as its error message string.
|
AssertionViolatedException(java.lang.String message)
Constructs a new AssertionViolatedException with the specified error message preceded
by "INTERNAL ERROR: ".
|
AssertionViolatedException(java.lang.String message,
java.lang.Throwable initCause)
Constructs a new AssertionViolationException with the specified error message and initial cause
|
Modifier and Type | Method and Description |
---|---|
void |
extendMessage(java.lang.String pre,
java.lang.String post)
Extends the error message with a string before ("pre") and after ("post") the
'old' error message.
|
java.lang.String |
getMessage()
Returns the error message string of this AssertionViolatedException object.
|
static void |
main(java.lang.String[] args)
DO NOT USE.
|
private static final long serialVersionUID
private java.lang.String detailMessage
public AssertionViolatedException()
public AssertionViolatedException(java.lang.String message)
public AssertionViolatedException(java.lang.String message, java.lang.Throwable initCause)
public void extendMessage(java.lang.String pre, java.lang.String post)
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public static void main(java.lang.String[] args)