Class ResteasyViolationExceptionImpl
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.validation.ValidationException
jakarta.validation.ConstraintViolationException
org.jboss.resteasy.api.validation.ResteasyViolationException
org.jboss.resteasy.plugins.validation.ResteasyViolationExceptionImpl
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class org.jboss.resteasy.api.validation.ResteasyViolationException
SUPPRESS_VIOLATION_PATH -
Constructor Summary
ConstructorsConstructorDescriptionResteasyViolationExceptionImpl(String stringRep) ResteasyViolationExceptionImpl(Set<? extends ConstraintViolation<?>> constraintViolations) ResteasyViolationExceptionImpl(Set<? extends ConstraintViolation<?>> constraintViolations, List<MediaType> accept) New constructorNew constructorResteasyViolationExceptionImpl(SimpleViolationsContainer container, List<MediaType> accept) New constructor -
Method Summary
Methods inherited from class org.jboss.resteasy.api.validation.ResteasyViolationException
checkSuppressPath, convertArrayToString, convertFromString, convertViolation, convertViolations, getAccept, getClassViolations, getException, getField, getParameterViolations, getPropertyViolations, getReturnValueViolations, getViolationLists, getViolations, setAccept, setException, size, toCloneableMediaTypeList, toMediaTypeList, toStringMethods inherited from class jakarta.validation.ConstraintViolationException
getConstraintViolationsMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ResteasyViolationExceptionImpl
-
ResteasyViolationExceptionImpl
public ResteasyViolationExceptionImpl(Set<? extends ConstraintViolation<?>> constraintViolations, List<MediaType> accept) New constructor- Parameters:
constraintViolations- set of constraint violationsaccept- list of accept media types
-
ResteasyViolationExceptionImpl
New constructor- Parameters:
container- violation container
-
ResteasyViolationExceptionImpl
New constructor- Parameters:
container- violation containeraccept- list of accept media types
-
ResteasyViolationExceptionImpl
-
-
Method Details
-
getConstraintTypeUtil
- Specified by:
getConstraintTypeUtilin classResteasyViolationException
-
getResteasyConfiguration
- Specified by:
getResteasyConfigurationin classResteasyViolationException
-