| Modifier and Type | Field and Description |
|---|---|
| private String | detailMessage
The error message.
|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | AssertionViolatedException()
Constructs a new AssertionViolatedException with null as its error message string. |
| public | AssertionViolatedException(String message)
Constructs a new AssertionViolatedException with the specified error message preceded by "INTERNAL ERROR: ". |
| public | AssertionViolatedException(String message, final Throwable initCause)
Constructs a new AssertionViolationException with the specified error message and initial cause |
| Modifier and Type | Method and Description |
|---|---|
| public void | extendMessage(String pre, String post)
Extends the error message with a string before ("pre") and after ("post") the 'old' error message. |
| public String | Returns: the error message string of this AssertionViolatedException.Overrides java. |
| public static void |
| detailMessage | back to summary |
|---|---|
| private String detailMessage Hides java. The error message. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| AssertionViolatedException | back to summary |
|---|---|
| public AssertionViolatedException() Constructs a new AssertionViolatedException with null as its error message string. | |
| AssertionViolatedException | back to summary |
|---|---|
| public AssertionViolatedException(String message) Constructs a new AssertionViolatedException with the specified error message preceded by "INTERNAL ERROR: ". | |
| AssertionViolatedException | back to summary |
|---|---|
| public AssertionViolatedException(String message, final Throwable initCause) Constructs a new AssertionViolationException with the specified error message and initial cause
| |
| extendMessage | back to summary |
|---|---|
| public void extendMessage(String pre, String post) Extends the error message with a string before ("pre") and after ("post") the 'old' error message. All of these three strings are allowed to be null, and null is always replaced by the empty string (""). In particular, after invoking this method, the error message of this object can no longer be null. | |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Returns the error message string of this AssertionViolatedException object. | |
| main | back to summary |
|---|---|
| public static void main(final String[] args) DO NOT USE. It's for experimental testing during development only. | |