Enables Control‑M/EM API user to obtain error information when an exception is thrown.
For error codes and exceptions see Error codes and exceptions.
The InvokeException class includes the methods listed in the following table:
Method |
Description |
---|---|
getMajorCode |
Enables you to obtain the Major Code that identifies the error family to which an error belongs.
|
getMinorCode |
Enables you to obtain the Minor Code of an error. The Minor Code provides a unique identifier for the error in the family to which it belongs.
|
getReason |
Enables you to obtain the text description of an error.
|
Parent Topic |