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 Summary
ConstructorsConstructorDescriptionBasicAssertionError(String message, Object... args) Constructor.BasicAssertionError(Throwable cause, String message, Object... args) Constructor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BasicAssertionError
Constructor.- Parameters:
message- TheMessageFormat-style message.args- OptionalMessageFormat-style arguments.
-
BasicAssertionError
Constructor.- Parameters:
cause- The cause of this exception.message- TheMessageFormat-style message.args- OptionalMessageFormat-style arguments.
-