Class GAFRuntimeException

All Implemented Interfaces:
Serializable

public class GAFRuntimeException extends OCFRuntimeException
The GAFRuntimeException is used for all runtime exceptions from GAF components. The GAFErrorCode is used to provide the first failure data capture for this exception. Typically runtime exceptions are the result of programming errors and so a developer is looking at their resolution.
See Also:
  • Constructor Details

    • GAFRuntimeException

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

      public GAFRuntimeException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Map<String,Object> relatedProperties)
      This is the typical constructor used for creating an OCFRuntimeException.
      Parameters:
      messageDefinition - content of 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.
    • GAFRuntimeException

      public GAFRuntimeException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError)
      This is the constructor used for creating a OCFRuntimeException that results from a previous error/exception being thrown.
      Parameters:
      messageDefinition - content of message
      className - name of class reporting error
      actionDescription - description of function it was performing when error detected
      caughtError - previous error causing this exception
    • GAFRuntimeException

      public GAFRuntimeException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError, Map<String,Object> relatedProperties)
      This is the constructor used for creating a OCFRuntimeException that results from a previous error/exception being thrown.
      Parameters:
      messageDefinition - content of 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.