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
ConstructorDescriptionResteasyViolationExceptionImpl
(String stringRep) ResteasyViolationExceptionImpl
(Set<? extends jakarta.validation.ConstraintViolation<?>> constraintViolations) ResteasyViolationExceptionImpl
(Set<? extends jakarta.validation.ConstraintViolation<?>> constraintViolations, List<jakarta.ws.rs.core.MediaType> accept) New constructorNew constructorResteasyViolationExceptionImpl
(SimpleViolationsContainer container, List<jakarta.ws.rs.core.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, toString
Methods inherited from class jakarta.validation.ConstraintViolationException
getConstraintViolations
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ResteasyViolationExceptionImpl
public ResteasyViolationExceptionImpl(Set<? extends jakarta.validation.ConstraintViolation<?>> constraintViolations) -
ResteasyViolationExceptionImpl
public ResteasyViolationExceptionImpl(Set<? extends jakarta.validation.ConstraintViolation<?>> constraintViolations, List<jakarta.ws.rs.core.MediaType> accept) New constructor- Parameters:
constraintViolations
- set of constraint violationsaccept
- list of accept media types
-
ResteasyViolationExceptionImpl
New constructor- Parameters:
container
- violation container
-
ResteasyViolationExceptionImpl
public ResteasyViolationExceptionImpl(SimpleViolationsContainer container, List<jakarta.ws.rs.core.MediaType> accept) New constructor- Parameters:
container
- violation containeraccept
- list of accept media types
-
ResteasyViolationExceptionImpl
-
-
Method Details
-
getConstraintTypeUtil
- Specified by:
getConstraintTypeUtil
in classResteasyViolationException
-
getResteasyConfiguration
- Specified by:
getResteasyConfiguration
in classResteasyViolationException
-