setMsgType()

Sets the message type associated with the message in the exception-detail object.

Syntax

public void setMsgType(int msgType);

Parameters

msgType
Is the message type that indicates the severity of the message in the exception-detail object. Use one of the following message-type constants:
XRD_ERROR
XRD_FATAL
Note:
Even though other message-type constants exist, they are not valid as types for a message in the exception-detail object. This object is part of the exception object, which is only thrown when an exception occurs.

Return values

None.

Exceptions

None.

See also

getMsgType()

Copyright IBM Corporation 1997, 2004. All Rights Reserved.