Get Message Number

Retrieves the message number for the message associated with the exception object.

Inputs

Collaboration exception
The collaboration exception (a CollaborationException object).

Output

The integer (int) message number associated with the current exception's message. If the exception's message is not from a message file, this function block returns zero (0).

Notes

The Get Message Number function block is useful for obtaining the message number associated with an exception's message. You can pass this message number to one of the Raise Collaboration Exception function blocks, or to the Log Error function block.

Related Information

This function block is based on the collaborationException.getMsgNumber() method. For more information, see getMsgNumber().

Copyright IBM Corp. 2004, 2005