All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.hibernate.validator.runtime.jaxrs.ResteasyReactiveViolationException Maven / Gradle / Ivy

package io.quarkus.hibernate.validator.runtime.jaxrs;

import java.util.Set;

import javax.validation.ConstraintViolation;
import javax.validation.ConstraintViolationException;

/**
 * Wrapper around a {@link javax.validation.ConstraintViolationException},
 * 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). */ public class ResteasyReactiveViolationException extends ConstraintViolationException { private static final long serialVersionUID = 657697354453281559L; public ResteasyReactiveViolationException(String message, Set> constraintViolations) { super(message, constraintViolations); } public ResteasyReactiveViolationException(Set> constraintViolations) { super(constraintViolations); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy