Package org.fcrepo.kernel.api.exception
Class ConstraintViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.fcrepo.kernel.api.exception.RepositoryRuntimeException
-
- org.fcrepo.kernel.api.exception.ConstraintViolationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ACLAuthorizationConstraintViolationException
,CannotCreateMementoException
,CannotCreateResourceException
,ExternalMessageBodyException
,IncorrectTripleSubjectException
,InteractionModelViolationException
,InvalidACLException
,InvalidMementoPathException
,MalformedRdfException
,MultipleConstraintViolationException
,OutOfDomainSubjectException
,RequestWithAclLinkHeaderException
,ServerManagedPropertyException
,ServerManagedTypeException
public class ConstraintViolationException extends RepositoryRuntimeException
A constraint has been violated.- Since:
- 2015-05-29
- Author:
- whikloj
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConstraintViolationException(String msg)
Ordinary constructor.ConstraintViolationException(String msg, Throwable rootCause)
Ordinary constructor.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ConstraintViolationException
public ConstraintViolationException(String msg)
Ordinary constructor.- Parameters:
msg
- the message
-
ConstraintViolationException
public ConstraintViolationException(String msg, Throwable rootCause)
Ordinary constructor.- Parameters:
msg
- the messagerootCause
- the root cause
-
-