public class ResteasyViolationException extends ConstraintViolationException
Constructor and Description |
---|
ResteasyViolationException(Set<? extends ConstraintViolation<?>> constraintViolations)
New constructor
|
ResteasyViolationException(Set<? extends ConstraintViolation<?>> constraintViolations,
List<MediaType> accept)
New constructor
|
ResteasyViolationException(SimpleViolationsContainer container)
New constructor
|
ResteasyViolationException(SimpleViolationsContainer container,
List<MediaType> accept)
New constructor
|
ResteasyViolationException(String stringRep) |
ResteasyViolationException(ViolationsContainer<?> container) |
ResteasyViolationException(ViolationsContainer<?> container,
List<MediaType> accept) |
getConstraintViolations
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ResteasyViolationException(Set<? extends ConstraintViolation<?>> constraintViolations)
constraintViolations
- public ResteasyViolationException(Set<? extends ConstraintViolation<?>> constraintViolations, List<MediaType> accept)
constraintViolations
- accept
- public ResteasyViolationException(SimpleViolationsContainer container)
container
- public ResteasyViolationException(SimpleViolationsContainer container, List<MediaType> accept)
container
- accept
- public ResteasyViolationException(ViolationsContainer<?> container)
public ResteasyViolationException(ViolationsContainer<?> container, List<MediaType> accept)
public ResteasyViolationException(String stringRep)
public Exception getException()
public void setException(Exception exception)
public List<ResteasyConstraintViolation> getViolations()
public List<ResteasyConstraintViolation> getFieldViolations()
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 convertToStrings(ViolationsContainer<?> container)
protected void convertFromString(String stringRep)
protected int getField(int start, String line)
protected void checkSuppressPath()
protected void convertViolations()
protected ResteasyConstraintViolation convertViolation(ConstraintViolation<?> violation)
protected static List<org.jboss.resteasy.api.validation.ResteasyViolationException.CloneableMediaType> toCloneableMediaTypeList(List<MediaType> list)
Copyright © 2016 JBoss by Red Hat. All rights reserved.