Package org.hibernate
Class AssertionFailure
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hibernate.AssertionFailure
- All Implemented Interfaces:
Serializable
Indicates failure of an assertion: a possible bug in Hibernate.
- See Also:
-
Constructor Summary
ConstructorDescriptionAssertionFailure
(String message) Creates an instance of AssertionFailure using the given message.AssertionFailure
(String message, Throwable cause) Creates an instance of AssertionFailure using the given message and underlying cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AssertionFailure
Creates an instance of AssertionFailure using the given message.- Parameters:
message
- The message explaining the reason for the exception
-
AssertionFailure
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.
-