public class AmetysObjectExistsException extends AmetysRepositoryException
AmetysObject failed because
 this AmetysObject already exist.| Modifier and Type | Field and Description | 
|---|---|
| private AmetysObject | _ao | 
| Constructor and Description | 
|---|
| AmetysObjectExistsException(String message)Constructs a new unknown data exception with the specified
 detail message. | 
| AmetysObjectExistsException(String message,
                           AmetysObject ao)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(Throwable cause)Constructs a new unknown data exception with the specified
 cause. | 
| Modifier and Type | Method and Description | 
|---|---|
| AmetysObject | getAmetysObject()Get the Ametys object responsible for this exception | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprivate AmetysObject _ao
public AmetysObjectExistsException(String message)
message - The detail message.public AmetysObjectExistsException(String message, AmetysObject ao)
message - The detail message.ao - The Ametys objectpublic AmetysObjectExistsException(String message, Throwable cause)
message - The detail message.cause - The cause.public AmetysObjectExistsException(Throwable cause)
cause - The cause.public AmetysObject getAmetysObject()