public abstract class ResteasyViolationException
extends javax.validation.ConstraintViolationException
Modifier and Type | Field and Description |
---|---|
static String |
SUPPRESS_VIOLATION_PATH |
Constructor and Description |
---|
ResteasyViolationException(Set<? extends javax.validation.ConstraintViolation<?>> constraintViolations)
New constructor
|
ResteasyViolationException(Set<? extends javax.validation.ConstraintViolation<?>> constraintViolations,
List<javax.ws.rs.core.MediaType> accept)
New constructor
|
ResteasyViolationException(SimpleViolationsContainer container)
New constructor
|
ResteasyViolationException(SimpleViolationsContainer container,
List<javax.ws.rs.core.MediaType> accept)
New constructor
|
ResteasyViolationException(String stringRep) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public static final String SUPPRESS_VIOLATION_PATH
public ResteasyViolationException(Set<? extends javax.validation.ConstraintViolation<?>> constraintViolations)
constraintViolations
- set of constraint violationspublic ResteasyViolationException(Set<? extends javax.validation.ConstraintViolation<?>> constraintViolations, List<javax.ws.rs.core.MediaType> accept)
constraintViolations
- set of constraint violationsaccept
- list of accept media typespublic ResteasyViolationException(SimpleViolationsContainer container)
container
- violation containerpublic ResteasyViolationException(SimpleViolationsContainer container, List<javax.ws.rs.core.MediaType> accept)
container
- violation containeraccept
- list of accept media typespublic ResteasyViolationException(String stringRep)
public abstract ConstraintTypeUtil getConstraintTypeUtil()
public List<javax.ws.rs.core.MediaType> getAccept()
public void setAccept(List<javax.ws.rs.core.MediaType> accept)
public Exception getException()
public void setException(Exception exception)
public List<ResteasyConstraintViolation> getViolations()
public List<ResteasyConstraintViolation> getPropertyViolations()
public List<ResteasyConstraintViolation> getClassViolations()
public List<ResteasyConstraintViolation> getParameterViolations()
public List<ResteasyConstraintViolation> getReturnValueViolations()
public int size()
public List<List<ResteasyConstraintViolation>> getViolationLists()
protected void convertFromString(String stringRep)
protected int getField(int start, String line)
protected abstract ResteasyConfiguration getResteasyConfiguration()
protected void checkSuppressPath()
protected void convertViolations()
protected ResteasyConstraintViolation convertViolation(javax.validation.ConstraintViolation<?> violation)
protected static List<org.jboss.resteasy.api.validation.ResteasyViolationException.CloneableMediaType> toCloneableMediaTypeList(List<javax.ws.rs.core.MediaType> list)
Copyright © 2020 JBoss by Red Hat. All rights reserved.