Package org.fcrepo.kernel.api.exception
Class MultipleConstraintViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.fcrepo.kernel.api.exception.RepositoryRuntimeException
-
- org.fcrepo.kernel.api.exception.ConstraintViolationException
-
- org.fcrepo.kernel.api.exception.MultipleConstraintViolationException
-
- All Implemented Interfaces:
Serializable
public class MultipleConstraintViolationException extends ConstraintViolationException
Wrapper to hold multiple constraint violation exceptions for later reporting.- Author:
- whikloj
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MultipleConstraintViolationException(List<ConstraintViolationException> exceptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<ConstraintViolationException>
getExceptionTypes()
String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MultipleConstraintViolationException
public MultipleConstraintViolationException(List<ConstraintViolationException> exceptions)
-
-
Method Detail
-
getExceptionTypes
public Set<ConstraintViolationException> getExceptionTypes()
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-