Package org.ametys.plugins.repository
Class AmetysObjectExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ametys.plugins.repository.AmetysRepositoryException
org.ametys.plugins.repository.AmetysObjectExistsException
- All Implemented Interfaces:
Serializable
Exception thrown when an attempt to created a
AmetysObject
failed because
this AmetysObject
already exist.- See Also:
-
Constructor Summary
ConstructorDescriptionAmetysObjectExistsException
(String message) Constructs a new unknown data exception with the specified detail message.AmetysObjectExistsException
(String message, Throwable cause) Constructs a new unknown data exception with the specified detail message and cause.AmetysObjectExistsException
(String message, AmetysObject ao) Constructs a new unknown data exception with the specified detail message.Constructs a new unknown data exception with the specified cause. -
Method Summary
Modifier and TypeMethodDescriptionGet the Ametys object responsible for this exceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AmetysObjectExistsException
Constructs a new unknown data exception with the specified detail message.- Parameters:
message
- The detail message.
-
AmetysObjectExistsException
Constructs a new unknown data exception with the specified detail message.- Parameters:
message
- The detail message.ao
- The Ametys object
-
AmetysObjectExistsException
Constructs a new unknown data exception with the specified detail message and cause.- Parameters:
message
- The detail message.cause
- The cause.
-
AmetysObjectExistsException
Constructs a new unknown data exception with the specified cause.- Parameters:
cause
- The cause.
-
-
Method Details
-
getAmetysObject
Get the Ametys object responsible for this exception- Returns:
- The Ametys object
-