an extension of the default ValidationException so you can pass the entity and the message map
Fields inherited from class | Fields |
---|---|
class ValidationException |
VALIDATION_EXCEPTION_TYPE |
Type | Name and description |
---|---|
Object |
entity |
Map |
messageMap |
Map |
meta |
Object |
otherEntity |
Constructor and description |
---|
EntityValidationException
(String msg) |
EntityValidationException
(String msg, Errors e) |
EntityValidationException
(String msg, Errors e, Throwable cause) |
EntityValidationException
(Map msgMap, Object entity, Errors errors) |
EntityValidationException
(Map msgMap, Object entity) |
EntityValidationException
(Map msgMap, Object entity, Throwable cause) |
EntityValidationException
(Map msgMap, Object entity, Errors errors, Throwable cause) |
Methods inherited from class | Name |
---|---|
class ValidationException |
formatErrors, getErrors, newInstance, getMessage, getMostSpecificCause, getRootCause, contains, printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
class DataIntegrityViolationException |
getMostSpecificCause, getRootCause, contains, getMessage, printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Groovy Documentation