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