public final class BeanValidationException extends EclipseLinkException
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRAINT_VIOLATION |
static int |
ILLEGAL_VALIDATION_MODE |
static int |
NOT_NULL_AND_NILLABLE |
static int |
PROVIDER_NOT_FOUND |
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
Constructor and Description |
---|
BeanValidationException(java.lang.String msg)
INTERNAL:
EclipseLink exceptions should only be thrown by EclipseLink.
|
BeanValidationException(java.lang.String msg,
java.lang.Throwable internalException)
INTERNAL:
EclipseLink exceptions should only be thrown by EclipseLink.
|
Modifier and Type | Method and Description |
---|---|
static BeanValidationException |
constraintViolation(java.lang.Object[] args,
java.lang.Throwable internalException) |
static BeanValidationException |
illegalValidationMode(java.lang.String prefix,
java.lang.String modeName) |
static BeanValidationException |
notNullAndNillable(java.lang.String propertyName) |
static BeanValidationException |
providerNotFound(java.lang.String prefix,
java.lang.Throwable internalException) |
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
public static final int PROVIDER_NOT_FOUND
public static final int ILLEGAL_VALIDATION_MODE
public static final int CONSTRAINT_VIOLATION
public static final int NOT_NULL_AND_NILLABLE
public BeanValidationException(java.lang.String msg)
public BeanValidationException(java.lang.String msg, java.lang.Throwable internalException)
public static BeanValidationException constraintViolation(java.lang.Object[] args, java.lang.Throwable internalException)
public static BeanValidationException providerNotFound(java.lang.String prefix, java.lang.Throwable internalException)
public static BeanValidationException illegalValidationMode(java.lang.String prefix, java.lang.String modeName)
public static BeanValidationException notNullAndNillable(java.lang.String propertyName)