org.hibernate.validator
Class InvalidStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
InvalidStateException(InvalidValue[] invalidValues)
           
InvalidStateException(InvalidValue[] invalidValues, String className)
           
 
Method Summary
 InvalidValue[] getInvalidValues()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidStateException

public InvalidStateException(InvalidValue[] invalidValues)

InvalidStateException

public InvalidStateException(InvalidValue[] invalidValues,
                             String className)
Method Detail

getInvalidValues

public InvalidValue[] getInvalidValues()