CWConnectorExceptionObject class

The CWConnectorExceptionObject class represents an exception-detail object, which provides detailed information about an exception. Each exception that methods of the Java connector library can throw can contain an exception-detail object. This class provides methods to store and access information about the exception message. Table 128 summarizes the methods in the CWConnectorExceptionObject class.

Table 128.

Member methods of the CWConnectorExceptionObject class
Member method Description Page
CWConnectorExceptionObject() Creates an exception-detail object. CWConnectorExceptionObject()
getExpl() Retrieves the explanation for the message associated with the exception-detail object's message number. getExpl()
getMsg() Retrieves the message text from an exception-detail object. getMsg()
getMsgNumber() Retrieves the message number (ID) associated with the message in the exception-detail object. getMsgNumber()
getMsgType() Retrieves the message type associated with the message in the exception-detail object. getMsgType()
setExpl() Sets the explanation for the message in the exception-detail object. setExpl()
setMsg() Sets the message text for the exception-detail object. setMsg()
setMsgNumber() Sets the message number (ID) associated with the message in the exception-detail object. setMsgNumber()
setMsgType() Sets the message type associated with the message in the exception-detail object. setMsgType()
setStatus() Sets the status value for the exception-detail object. setStatus()

Copyright IBM Corp. 1997, 2003