WebSphere brand IBM WebSphere IP Multimedia Subsystem Connector, Version 6.2

Class CauseCode (Deprecated)

This class contains methods to get and set cause codes that may have occurred during the accounting process.

Usage

This class passes errors and status codes between transactions.

Example

Accounting acct = new Accounting();
CauseCode cc = new CauseCode();
cc.setCausecode(0);
cc.setNodeFunctionality(1);
acct.setACauseCode(cc);

Get methods

Methods Type Returns Description
getCausecode int Returns one of the following cause codes:
  • 0 = Normal end of session
  • -1 = Successful transaction
  • -2 = SUBSCRIBE dialog
  • -3xx = 3xx Redirection
  • 1 = Unspecified error
  • 2 = Unsuccessful setup
  • 3 = Internal error
  • 4xx = Request failure
  • 5xx = Server failure
  • 6xx = Global failure
Retrieves cause codes
getNodeFunctionality int nodeFunctionality Retrieves the identifier of the node where the causecode was generated

Set methods

Methods Parameters Type Description
setCausecode causecode int Defines the cause code
setNodeFunctionality nodeFunctionality int Defines the identifier of the node



Terms of use
(C) Copyright IBM Corporation 2009. All Rights Reserved.