Class ClassificationException

    • Constructor Detail

      • ClassificationException

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

        public ClassificationException​(ExceptionMessageDefinition messageDefinition,
                                       String className,
                                       String actionDescription,
                                       Throwable caughtError)
        This is the constructor used for creating an ClassificationException 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