Class StatusNotSupportedException

    • Constructor Detail

      • StatusNotSupportedException

        public StatusNotSupportedException​(ExceptionMessageDefinition messageDefinition,
                                           String className,
                                           String actionDescription)
        This is the typical constructor used for creating a StatusNotSupportedException
        Parameters:
        messageDefinition - content of the message
        className - name of class reporting error
        actionDescription - description of function it was performing when error detected
      • StatusNotSupportedException

        public StatusNotSupportedException​(ExceptionMessageDefinition messageDefinition,
                                           String className,
                                           String actionDescription,
                                           Exception caughtError)
        This is the constructor used for creating a StatusNotSupportedException when an unexpected error has been caught. The properties allow additional information to be associated with the exception.
        Parameters:
        messageDefinition - content of the message
        className - name of class reporting error
        actionDescription - description of function it was performing when error detected
        caughtError - previous error causing this exception