Class AmetysObjectExistsException

All Implemented Interfaces:
Serializable

Exception thrown when an attempt to created a AmetysObject failed because this AmetysObject already exist.
See Also:
  • 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

      public AmetysObjectExistsException(String message, Throwable cause)
      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