Class ResteasyReactiveViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.validation.ValidationException
-
- javax.validation.ConstraintViolationException
-
- io.quarkus.hibernate.validator.runtime.jaxrs.ResteasyReactiveViolationException
-
- All Implemented Interfaces:
Serializable
public class ResteasyReactiveViolationException extends javax.validation.ConstraintViolationExceptionWrapper around aConstraintViolationException, used to mark a constraint violation as relative to a REST endpoint call.Those violations are handled differently than violations from other, internal components: a violation on an internal component is always considered an internal error (HTTP 500), while a violation on the parameters of a REST endpoint call is a client error (HTTP 400).
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResteasyReactiveViolationException(String message, Set<? extends javax.validation.ConstraintViolation<?>> constraintViolations)ResteasyReactiveViolationException(Set<? extends javax.validation.ConstraintViolation<?>> constraintViolations)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ResteasyReactiveViolationException
public ResteasyReactiveViolationException(String message, Set<? extends javax.validation.ConstraintViolation<?>> constraintViolations)
-
ResteasyReactiveViolationException
public ResteasyReactiveViolationException(Set<? extends javax.validation.ConstraintViolation<?>> constraintViolations)
-
-