Package org.eigenbase.xom
Class AssertFailure
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eigenbase.xom.AssertFailure
- All Implemented Interfaces:
Serializable
todo:
- Since:
- 3 December, 2001
- Version:
- $Id: //open/util/resgen/src/org/eigenbase/xom/AssertFailure.java#3 $
- Author:
- jhyde
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct an AssertFailure with no messageConstruct an AssertFailure with a simple detail message.Construct an AssertFailure from an exception.AssertFailure
(Throwable th, String s) Similar to the previous constructor, except allows a custom message on top of the exception -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AssertFailure
public AssertFailure()Construct an AssertFailure with no message -
AssertFailure
Construct an AssertFailure with a simple detail message. -
AssertFailure
Construct an AssertFailure from an exception. This indicates an unexpected exception of another type. We'll fill in the stack trace when printing the message. -
AssertFailure
Similar to the previous constructor, except allows a custom message on top of the exception
-