com.ibm.openpages.api.trigger

## Class GRCTriggerException

- java.lang.Object
- - TriggerException
  - - com.ibm.openpages.api.trigger.GRCTriggerException

-     public class GRCTriggerException
      extends TriggerException

  Exception thrown for all GRC trigger related errors.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GRCTriggerException(ErrorMessage errorMessage, java.util.List<java.lang.Object> parameters, java.lang.Throwable originalCause)` Constructs a new GRCTriggerException with the specified error message, list of parameters and cause of the exception.

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GRCTriggerException

          public GRCTriggerException(ErrorMessage errorMessage,
                                     java.util.List<java.lang.Object> parameters,
                                     java.lang.Throwable originalCause)

      Constructs a new GRCTriggerException with the specified error message, list of parameters and cause of the exception.
      Parameters:
        `errorMessage` - (required) the system trigger error message from ErrorMessageCache, the trigger error code is -72
        `parameters` - (required) a List of Objects parameters to pass to the error message to format. For trigger exception the first parameter in the list should be the error message text as a String
        `originalCause` - (optional) another exception that caused this trigger error.

Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2022. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.