Copyright © TIBCO Software Inc. All Rights Reserved

> tibemsConnection_GetExceptionListener
> Function
> Purpose
> Get the exception listener of a connection.
> C Declaration
> tibems_status tibemsConnection_GetExceptionListener(
> tibemsConnection connection,
> tibemsExceptionCallback* listener,
> void** closure );
> Parameters

> Parameter | Description
> connection | Get the exception listener of this connection.
> listener | The function stores a pointer to the exception listener callback in this location.
> closure | The function stores a pointer to the exception listener closure argument in this location.

> Remarks
> This is an alternate pathway for alerting a client program of connection problems. The program defines an exception listener callback function, and registers the callback using tibemsConnection_SetExceptionListener. When the client library detects a connection problem, it calls the callback with an exception argument that details the problem.
> This call is not available in COBOL.
> See Also
> tibemsConnection_SetExceptionListener on page 215
> Asynchronous Errors.
> tibemsExceptionCallback on page 225

Copyright © TIBCO Software Inc. All Rights Reserved