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
FieldsFields inherited from interface org.zalando.problem.Problem
DEFAULT_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionConstraintViolationThrowableProblem(@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, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.zalando.problem.Exceptional
propagate, propagateAsMethods 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
-