public final class AssertionViolatedException extends RuntimeException
Constructor and Description |
---|
AssertionViolatedException()
Constructs a new AssertionViolatedException with null as its error message string.
|
AssertionViolatedException(String message)
Constructs a new AssertionViolatedException with the specified error message preceded
by "INTERNAL ERROR: ".
|
AssertionViolatedException(String message,
Throwable initCause)
Constructs a new AssertionViolationException with the specified error message and initial cause
|
Modifier and Type | Method and Description |
---|---|
void |
extendMessage(String pre,
String post)
Extends the error message with a string before ("pre") and after ("post") the
'old' error message.
|
String |
getMessage()
Returns the error message string of this AssertionViolatedException object.
|
static void |
main(String[] args)
DO NOT USE.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AssertionViolatedException()
public AssertionViolatedException(String message)
public void extendMessage(String pre, String post)
public String getMessage()
getMessage
in class Throwable
public static void main(String[] args)
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.