Class SubjectAreaCheckedException

    • Constructor Detail

      • SubjectAreaCheckedException

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

        public SubjectAreaCheckedException​(ExceptionMessageDefinition messageDefinition,
                                           String className,
                                           String actionDescription,
                                           Map<String,​Object> relatedProperties)
        This is the typical constructor used for creating an SubjectAreaCheckedException. 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
        relatedProperties - arbitrary properties that may help with diagnosing the problem.
      • SubjectAreaCheckedException

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

        public SubjectAreaCheckedException​(ExceptionMessageDefinition messageDefinition,
                                           String className,
                                           String actionDescription,
                                           Exception caughtError,
                                           Map<String,​Object> relatedProperties)
        This is the constructor used for creating an SubjectAreaCheckedException 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
        relatedProperties - arbitrary properties that may help with diagnosing the problem.