getStatus()

Retrieves the status from the exception-detail object.

Syntax

public int getStatus();
 

Parameters

None.

Return values

An integer value that represents the status exception-detail object. Compare this integer value with the following outcome-status constants to determine the message type:

    
 
     CWConnectorConstant.APPRESPONSETIMEOUT 
     
 
 CWConnectorConstant.BO_DOES_NOT_EXIST 
     
 
 CWConnectorConstant.    MULTIPLE_HITS 
     
 
 CWConnectorConstant.RETRIEVEBYCONTENT_FAILED 
     
 
     CWConnectorConstant.UNABLETOLOGIN 
 

These outcome-status constants are defined in the CWConnectorConstant class.

Exceptions

None.

See also

setStatus()

Copyright IBM Corp. 1997, 2004