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:
java.io.Serializable
public class AssertFailure extends java.lang.RuntimeException
todo:- Since:
- 3 December, 2001
- Version:
- $Id: //open/util/resgen/src/org/eigenbase/xom/AssertFailure.java#3 $
- Author:
- jhyde
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssertFailure()
Construct an AssertFailure with no messageAssertFailure(java.lang.String s)
Construct an AssertFailure with a simple detail message.AssertFailure(java.lang.Throwable th)
Construct an AssertFailure from an exception.AssertFailure(java.lang.Throwable th, java.lang.String s)
Similar to the previous constructor, except allows a custom message on top of the exception
-
-
-
Constructor Detail
-
AssertFailure
public AssertFailure()
Construct an AssertFailure with no message
-
AssertFailure
public AssertFailure(java.lang.String s)
Construct an AssertFailure with a simple detail message.
-
AssertFailure
public AssertFailure(java.lang.Throwable th)
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
public AssertFailure(java.lang.Throwable th, java.lang.String s)
Similar to the previous constructor, except allows a custom message on top of the exception
-
-