The cause parameter specifies the method against which the exception is to be reported. The constant definitions for the cause of the event are listed in the following table.
Constant | Value | Description |
---|---|---|
EC_PRECONDITION | 0 | Reported against the method that called the current method |
EC_INTERNAL | 1 | Reported against the current method itself |