Class PropertyServerException

    • Constructor Detail

      • PropertyServerException

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

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