PreviousNext

The comm_status Attribute

The comm_status attribute requests that RPC communications failures be reported through a designated status parameter instead of by an exception. The comm_status attribute has the following characteristics:

· Occurs where you expect communications to fail routinely; for instance, no server is available, the server has no resources, and so on

· Works well for fine-grained error handling; for example, trying a procedure many times until it succeeds

· Requires that you adjust procedure declarations between local and distributed code to add the new status parameter

· Controls the reporting of errors only from RPC runtime error status codes

For more information on the comm_status attribute, see Attribute Configuration Language.