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(String msg)
INTERNAL:
EclipseLink exceptions should only be thrown by EclipseLink.
|
BeanValidationException(String msg,
Throwable internalException)
INTERNAL:
EclipseLink exceptions should only be thrown by EclipseLink.
|
Modifier and Type | Method and Description |
---|---|
static BeanValidationException |
constraintViolation(Object[] args,
Throwable internalException) |
static BeanValidationException |
illegalValidationMode(String prefix,
String modeName) |
static BeanValidationException |
notNullAndNillable(String propertyName) |
static BeanValidationException |
providerNotFound(String prefix,
Throwable internalException) |
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
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(String msg)
public static BeanValidationException constraintViolation(Object[] args, Throwable internalException)
public static BeanValidationException providerNotFound(String prefix, Throwable internalException)
public static BeanValidationException illegalValidationMode(String prefix, String modeName)
public static BeanValidationException notNullAndNillable(String propertyName)
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.