int getMsgNumber()
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).
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().