Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.fluxcapacitor.javaclient.common.exception.FunctionalException
-
- io.fluxcapacitor.javaclient.tracking.handling.validation.ValidationException
-
- All Implemented Interfaces:
Serializable
public class ValidationException extends FunctionalException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationException(String message, Set<String> violations)ValidationException(Collection<? extends javax.validation.ConstraintViolation<?>> violations)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static SortedSet<String>format(Collection<? extends javax.validation.ConstraintViolation<?>> violations, boolean fullPath)protected static Stringformat(javax.validation.ConstraintViolation<?> v, boolean fullPath)protected static StringgetPropertyPath(javax.validation.ConstraintViolation<?> v, boolean full)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ValidationException
public ValidationException(Collection<? extends javax.validation.ConstraintViolation<?>> violations)
-
ValidationException
@ConstructorProperties({"message","violations"}) public ValidationException(String message, Set<String> violations)
-
-
Method Detail
-
format
protected static SortedSet<String> format(Collection<? extends javax.validation.ConstraintViolation<?>> violations, boolean fullPath)
-
format
protected static String format(javax.validation.ConstraintViolation<?> v, boolean fullPath)
-
getPropertyPath
protected static String getPropertyPath(javax.validation.ConstraintViolation<?> v, boolean full)
-
-