Package org.apache.juneau
Class BasicAssertionError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.apache.juneau.BasicAssertionError
- All Implemented Interfaces:
- Serializable
An extension of 
AssertionError with helper constructors for messages with message-style arguments.
 See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionBasicAssertionError(String message, Object... args) Constructor.BasicAssertionError(Throwable cause, String message, Object... args) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionprotected static final StringgetMessage(Throwable cause, String msg, String def) Finds the message.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
BasicAssertionErrorConstructor.- Parameters:
- message- The- MessageFormat-style message.
- args- Optional- MessageFormat-style arguments.
 
- 
BasicAssertionErrorConstructor.- Parameters:
- cause- The cause of this exception.
- message- The- MessageFormat-style message.
- args- Optional- MessageFormat-style arguments.
 
 
- 
- 
Method Details- 
getMessageFinds the message.- Parameters:
- cause- The cause.
- msg- The message.
- def- The default value if both above are- null .
- Returns:
- The resolved message.
 
 
-