setMsg()

Sets the message text for the exception-detail object.

Syntax

public void setMsg(String newMsg);
 

Parameters

newMsg
Is a String object that contains the message text to assign to the exception-detail object.

Return values

None.

Exceptions

None.

See also

getMsg()

Copyright IBM Corp. 1997, 2004