Class AmetysObjectExistsException

    • Constructor Detail

      • AmetysObjectExistsException

        public AmetysObjectExistsException​(String message)
        Constructs a new unknown data exception with the specified detail message.
        Parameters:
        message - The detail message.
      • AmetysObjectExistsException

        public AmetysObjectExistsException​(String message,
                                           AmetysObject ao)
        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

        public AmetysObjectExistsException​(Throwable cause)
        Constructs a new unknown data exception with the specified cause.
        Parameters:
        cause - The cause.
    • Method Detail

      • getAmetysObject

        public AmetysObject getAmetysObject()
        Get the Ametys object responsible for this exception
        Returns:
        The Ametys object