Interface FFDCResponse

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getActionDescription()
      Return the description of the action in progress when the exception occurred.
      java.lang.String getExceptionCausedBy()
      Return the name of any nested exception that may indicate the root cause of the exception.
      java.lang.String getExceptionClassName()
      Return the name of the Java class name to use to recreate the exception.
      java.lang.String getExceptionErrorMessage()
      Return the error message associated with the exception.
      java.lang.String getExceptionErrorMessageId()
      Return the formal message identifier for the error message.
      java.lang.String[] getExceptionErrorMessageParameters()
      Return the parameters that were inserted in the error message.
      java.util.Map<java.lang.String,​java.lang.Object> getExceptionProperties()
      Return the additional properties stored by the exceptions.
      java.lang.String getExceptionSystemAction()
      Return the description of the action taken by the system as a result of the exception.
      java.lang.String getExceptionUserAction()
      Return the action that a user should take to resolve the problem.
      int getRelatedHTTPCode()
      Return the HTTP Code to use if forwarding response to HTTP client.
      void setActionDescription​(java.lang.String actionDescription)
      Set up the description of the activity in progress when the exception occurred.
      void setExceptionCausedBy​(java.lang.String exceptionCausedBy)
      Set up the name of any nested exception that may indicate the root cause of the exception.
      void setExceptionClassName​(java.lang.String exceptionClassName)
      Set up the name of the Java class name to use to recreate the exception.
      void setExceptionErrorMessage​(java.lang.String exceptionErrorMessage)
      Set up the error message associated with the exception.
      void setExceptionErrorMessageId​(java.lang.String exceptionErrorMessageId)
      Set up the formal message identifier for the error message.
      void setExceptionErrorMessageParameters​(java.lang.String[] exceptionErrorMessageParameters)
      Set up the list of parameters inserted in to the error message.
      void setExceptionProperties​(java.util.Map<java.lang.String,​java.lang.Object> exceptionProperties)
      Set up the additional properties stored by the exceptions.
      void setExceptionSystemAction​(java.lang.String exceptionSystemAction)
      Set up the description of the action taken by the system as a result of the exception.
      void setExceptionUserAction​(java.lang.String exceptionUserAction)
      Set up the action that a user should take to resolve the problem.
      void setRelatedHTTPCode​(int relatedHTTPCode)
      Set up the HTTP Code to use if forwarding response to HTTP client.
    • Method Detail

      • getRelatedHTTPCode

        int getRelatedHTTPCode()
        Return the HTTP Code to use if forwarding response to HTTP client.
        Returns:
        integer HTTP status code
      • getExceptionClassName

        java.lang.String getExceptionClassName()
        Return the name of the Java class name to use to recreate the exception.
        Returns:
        String name of the fully-qualified java class name
      • getExceptionCausedBy

        java.lang.String getExceptionCausedBy()
        Return the name of any nested exception that may indicate the root cause of the exception.
        Returns:
        exception class name
      • getActionDescription

        java.lang.String getActionDescription()
        Return the description of the action in progress when the exception occurred.
        Returns:
        string description
      • getExceptionErrorMessage

        java.lang.String getExceptionErrorMessage()
        Return the error message associated with the exception.
        Returns:
        string error message
      • getExceptionErrorMessageId

        java.lang.String getExceptionErrorMessageId()
        Return the formal message identifier for the error message. This is incorporated in the error message. This is provided both for automated processing and to enable the error message to be reformatted in a different language.
        Returns:
        string identifier
      • getExceptionErrorMessageParameters

        java.lang.String[] getExceptionErrorMessageParameters()
        Return the parameters that were inserted in the error message. These are provided both for automated processing and to enable the error message to be reformatted in a different language.
        Returns:
        list of strings
      • getExceptionSystemAction

        java.lang.String getExceptionSystemAction()
        Return the description of the action taken by the system as a result of the exception.
        Returns:
        - string description of the action taken
      • getExceptionUserAction

        java.lang.String getExceptionUserAction()
        Return the action that a user should take to resolve the problem.
        Returns:
        string instructions
      • getExceptionProperties

        java.util.Map<java.lang.String,​java.lang.Object> getExceptionProperties()
        Return the additional properties stored by the exceptions.
        Returns:
        property map
      • setRelatedHTTPCode

        void setRelatedHTTPCode​(int relatedHTTPCode)
        Set up the HTTP Code to use if forwarding response to HTTP client.
        Parameters:
        relatedHTTPCode - - integer HTTP status code
      • setExceptionClassName

        void setExceptionClassName​(java.lang.String exceptionClassName)
        Set up the name of the Java class name to use to recreate the exception.
        Parameters:
        exceptionClassName - - String name of the fully-qualified java class name
      • setExceptionCausedBy

        void setExceptionCausedBy​(java.lang.String exceptionCausedBy)
        Set up the name of any nested exception that may indicate the root cause of the exception.
        Parameters:
        exceptionCausedBy - exception class name
      • setActionDescription

        void setActionDescription​(java.lang.String actionDescription)
        Set up the description of the activity in progress when the exception occurred.
        Parameters:
        actionDescription - string description
      • setExceptionErrorMessage

        void setExceptionErrorMessage​(java.lang.String exceptionErrorMessage)
        Set up the error message associated with the exception.
        Parameters:
        exceptionErrorMessage - - string error message
      • setExceptionErrorMessageId

        void setExceptionErrorMessageId​(java.lang.String exceptionErrorMessageId)
        Set up the formal message identifier for the error message. This is incorporated in the error message. This is provided both for automated processing and to enable the error message to be reformatted in a different language.
        Parameters:
        exceptionErrorMessageId - string identifier
      • setExceptionErrorMessageParameters

        void setExceptionErrorMessageParameters​(java.lang.String[] exceptionErrorMessageParameters)
        Set up the list of parameters inserted in to the error message. These are provided both for automated processing and to enable the error message to be reformatted in a different language.
        Parameters:
        exceptionErrorMessageParameters - list of strings
      • setExceptionSystemAction

        void setExceptionSystemAction​(java.lang.String exceptionSystemAction)
        Set up the description of the action taken by the system as a result of the exception.
        Parameters:
        exceptionSystemAction - - string description of the action taken
      • setExceptionUserAction

        void setExceptionUserAction​(java.lang.String exceptionUserAction)
        Set up the action that a user should take to resolve the problem.
        Parameters:
        exceptionUserAction - - string instructions
      • setExceptionProperties

        void setExceptionProperties​(java.util.Map<java.lang.String,​java.lang.Object> exceptionProperties)
        Set up the additional properties stored by the exceptions.
        Parameters:
        exceptionProperties - property map