java.io.Serializable
public final class AssertionViolatedException
extends java.lang.RuntimeException
Constructor | 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: ".
|
Modifier and Type | Method | 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.
|
public AssertionViolatedException()
public AssertionViolatedException(java.lang.String message)
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)