Package org.ametys.plugins.repository
Class RepositoryIntegrityViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.ametys.plugins.repository.AmetysRepositoryException
-
- org.ametys.plugins.repository.RepositoryIntegrityViolationException
-
- All Implemented Interfaces:
Serializable
public class RepositoryIntegrityViolationException extends AmetysRepositoryException
Exception thrown when an attempt to insert or update data results in violation of an integrity constraint.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RepositoryIntegrityViolationException(String message)
Constructs a new data integrity violation exception with the specified detail message.RepositoryIntegrityViolationException(String message, Throwable cause)
Constructs a new data integrity violation exception with the specified detail message and cause.RepositoryIntegrityViolationException(Throwable cause)
Constructs a new data integrity violation exception with the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RepositoryIntegrityViolationException
public RepositoryIntegrityViolationException(String message)
Constructs a new data integrity violation exception with the specified detail message.- Parameters:
message
- The detail message.
-
RepositoryIntegrityViolationException
public RepositoryIntegrityViolationException(String message, Throwable cause)
Constructs a new data integrity violation exception with the specified detail message and cause.- Parameters:
message
- The detail message.cause
- The cause.
-
RepositoryIntegrityViolationException
public RepositoryIntegrityViolationException(Throwable cause)
Constructs a new data integrity violation exception with the specified cause.- Parameters:
cause
- The cause.
-
-