Package org.hibernate.classic
Class ValidationFailure
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hibernate.HibernateException
org.hibernate.classic.ValidationFailure
- All Implemented Interfaces:
Serializable
Thrown from Validatable.validate() when an invariant
was violated. Some applications might subclass this exception
in order to provide more information about the violation.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValidationFailure(String message) ValidationFailure(String message, Exception e) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationFailure
-
ValidationFailure
-
ValidationFailure
-