public class ConstraintViolationThrowableProblem
extends org.zalando.problem.ThrowableProblem
ThrowableProblem
for constraints violations.Modifier and Type | Field and Description |
---|---|
static java.net.URI |
TYPE |
static java.lang.String |
TYPE_VALUE |
Constructor and Description |
---|
ConstraintViolationThrowableProblem(org.zalando.problem.StatusType status,
java.util.List<Violation> violations) |
ConstraintViolationThrowableProblem(java.net.URI type,
org.zalando.problem.StatusType status,
java.util.List<Violation> violations) |
Modifier and Type | Method and Description |
---|---|
org.zalando.problem.StatusType |
getStatus() |
java.lang.String |
getTitle() |
java.net.URI |
getType() |
java.util.List<Violation> |
getViolations() |
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public static final java.lang.String TYPE_VALUE
public static final java.net.URI TYPE
public ConstraintViolationThrowableProblem(@NonNull org.zalando.problem.StatusType status, @Nullable java.util.List<Violation> violations)
public ConstraintViolationThrowableProblem(@NonNull java.net.URI type, @NonNull org.zalando.problem.StatusType status, @Nullable java.util.List<Violation> violations)
@NonNull public java.net.URI getType()
@NonNull public java.lang.String getTitle()
@NonNull public org.zalando.problem.StatusType getStatus()
@NonNull public java.util.List<Violation> getViolations()