setStatus()

Sets the status associated with the exception object.

Syntax

public void setStatus(int status);
 

Parameters

status
Is the integer status value to assign to the exception object.

Return values

None.

Exceptions

None.

Notes

The setStatus() method sets the status that is part of the CWException object. This status is usually set by the connector to one of the outcome-status constants, as represented by the CWConnectorConstant class (such as FAIL or APPRESPONSETIMEOUT).

See also

getStatus()

Copyright IBM Corp. 1997, 2003