org.hibernate.validator
Class InvalidStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hibernate.validator.InvalidStateException
- All Implemented Interfaces:
- Serializable
public class InvalidStateException
- extends RuntimeException
Thrown when the bean has violated one or several of its constraints
You can get the violation details in getInvalidValues()
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidStateException
public InvalidStateException(InvalidValue[] invalidValues)
InvalidStateException
public InvalidStateException(InvalidValue[] invalidValues,
String className)
getInvalidValues
public InvalidValue[] getInvalidValues()