org.dellroad.stuff.pobj
Class PersistentObjectValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.dellroad.stuff.pobj.PersistentObjectException
org.dellroad.stuff.pobj.PersistentObjectValidationException
- All Implemented Interfaces:
- Serializable
public class PersistentObjectValidationException
- extends PersistentObjectException
Runtime exception thrown during PersistentObject operations.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
PersistentObjectValidationException
public PersistentObjectValidationException(Set<ConstraintViolation<?>> violations)
- Constructor.
- Parameters:
violations - set of violations
- Throws:
IllegalArgumentException - if violations is null
getViolations
public Set<ConstraintViolation<?>> getViolations()
- Get the set of constraint violations.