Class GAFRuntimeException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Detail

      • GAFRuntimeException

        public GAFRuntimeException​(ExceptionMessageDefinition messageDefinition,
                                   java.lang.String className,
                                   java.lang.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,
                                   java.lang.String className,
                                   java.lang.String actionDescription,
                                   java.util.Map<java.lang.String,​java.lang.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,
                                   java.lang.String className,
                                   java.lang.String actionDescription,
                                   java.lang.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,
                                   java.lang.String className,
                                   java.lang.String actionDescription,
                                   java.lang.Throwable caughtError,
                                   java.util.Map<java.lang.String,​java.lang.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.