Retrieve the message number for the message associated with the exception object.
Syntax
int getMsgNumber()
Return values
The integer (int) message number associated with the current exception's message. If the exception's message is not from a message file, this method returns zero (0).
Notes
The getMsgNumber() method is useful for obtaining the message number associated with an exception's message. You can pass this message number to a call to raiseException() or logError().