org.hibernate.classic

Class ValidationFailure

Implemented Interfaces:
Nestable

public class ValidationFailure
extends HibernateException

Thrown from Validatable.validate() when an invariant was violated. Some applications might subclass this exception in order to provide more information about the violation.
Author:
Gavin King

Field Summary

Fields inherited from class org.hibernate.exception.NestableRuntimeException

delegate

Constructor Summary

ValidationFailure(Exception e)
ValidationFailure(String message)
Constructs a new NestableRuntimeException with specified detail message.
ValidationFailure(String message, Exception e)

Method Summary

Methods inherited from class org.hibernate.exception.NestableRuntimeException

getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace

Constructor Details

ValidationFailure

public ValidationFailure(Exception e)

ValidationFailure

public ValidationFailure(String message)
Constructs a new NestableRuntimeException with specified detail message.
Parameters:

ValidationFailure

public ValidationFailure(String message,
                         Exception e)