setStatus()

Sets the status value for the exception-detail object.

Syntax

public void setStatus(int status);

Parameters

status
Is an integer value that indicates the outcome status to assign to the exception-detail object.

Return values

None.

Notes

You must set the exception status of an exception-detail object with the setStatus() method before the exception is thrown. This status value allows the calling code to take appropriate action to cleanup any application-related resources (for example from an APPRESPONSETIMEOUT status) before to passing this status back to the connector framework.

Exceptions

None.

See also

getStatus()

Copyright IBM Corp. 1997, 2004