Package io.micronaut.problem.violations
Class ConstraintViolationThrowableProblem
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.zalando.problem.ThrowableProblem
io.micronaut.problem.violations.ConstraintViolationThrowableProblem
- All Implemented Interfaces:
Serializable
,org.zalando.problem.Exceptional
,org.zalando.problem.Problem
public class ConstraintViolationThrowableProblem
extends org.zalando.problem.ThrowableProblem
ThrowableProblem
for constraints violations.- Since:
- 1.0
- Author:
- Sergio del Amo
- See Also:
-
Field Summary
Fields inherited from interface org.zalando.problem.Problem
DEFAULT_TYPE
-
Constructor Summary
ConstructorDescriptionConstraintViolationThrowableProblem
(@NonNull URI type, @NonNull org.zalando.problem.StatusType status, @Nullable List<Violation> violations) ConstraintViolationThrowableProblem
(@NonNull org.zalando.problem.StatusType status, @Nullable List<Violation> violations) -
Method Summary
Methods inherited from class org.zalando.problem.ThrowableProblem
getCause, getMessage, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.zalando.problem.Exceptional
propagate, propagateAs
Methods inherited from interface org.zalando.problem.Problem
getDetail, getInstance, getParameters
-
Field Details
-
TYPE_VALUE
- See Also:
-
TYPE
-
-
Constructor Details
-
ConstraintViolationThrowableProblem
-
ConstraintViolationThrowableProblem
-
-
Method Details
-
getType
-
getTitle
-
getStatus
@NonNull public @NonNull org.zalando.problem.StatusType getStatus() -
getViolations
- Returns:
- Violations
-