Package org.hibernate
Class AssertionFailure
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.hibernate.AssertionFailure
-
- All Implemented Interfaces:
java.io.Serializable
public class AssertionFailure extends java.lang.RuntimeException
Indicates failure of an assertion: a possible bug in Hibernate.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssertionFailure(java.lang.String message)
Creates an instance of AssertionFailure using the given message.AssertionFailure(java.lang.String message, java.lang.Throwable cause)
Creates an instance of AssertionFailure using the given message and underlying cause.
-
-
-
Constructor Detail
-
AssertionFailure
public AssertionFailure(java.lang.String message)
Creates an instance of AssertionFailure using the given message.- Parameters:
message
- The message explaining the reason for the exception
-
AssertionFailure
public AssertionFailure(java.lang.String message, java.lang.Throwable cause)
Creates an instance of AssertionFailure using the given message and underlying cause.- Parameters:
message
- The message explaining the reason for the exceptioncause
- The underlying cause.
-
-