public class ResteasyViolationException
extends javax.validation.ValidationException
Constructor and Description |
---|
ResteasyViolationException(String stringRep) |
ResteasyViolationException(ViolationsContainer<?> container) |
ResteasyViolationException(ViolationsContainer<?> container,
List<javax.ws.rs.core.MediaType> accept) |
Modifier and Type | Method and Description |
---|---|
protected void |
convertFromString(String stringRep) |
protected void |
convertToStrings(ViolationsContainer container) |
List<javax.ws.rs.core.MediaType> |
getAccept() |
List<ResteasyConstraintViolation> |
getClassViolations() |
Exception |
getException() |
protected int |
getField(int start,
String line) |
List<ResteasyConstraintViolation> |
getFieldViolations() |
List<ResteasyConstraintViolation> |
getParameterViolations() |
List<ResteasyConstraintViolation> |
getPropertyViolations() |
List<ResteasyConstraintViolation> |
getReturnValueViolations() |
List<List<ResteasyConstraintViolation>> |
getViolationLists() |
List<ResteasyConstraintViolation> |
getViolations() |
void |
setAccept(List<javax.ws.rs.core.MediaType> accept) |
void |
setException(Exception exception) |
int |
size() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ResteasyViolationException(ViolationsContainer<?> container)
public ResteasyViolationException(ViolationsContainer<?> container, List<javax.ws.rs.core.MediaType> accept)
public ResteasyViolationException(String stringRep)
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> 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)
Copyright © 2015 JBoss by Red Hat. All rights reserved.