cdac.medinfo.sdk.hl7282.hl7net.upperlayer

## Interface IExceptionListener

-     public interface IExceptionListener

  IAsyncReceiver is the receiver interface for receiving Deferred Responses. The class that is interested in receiving an Deferred Responses implements this interface, When Message is received by HL7 SDK notifyData is method is invoked for message arrival.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onException(java.lang.Exception ex, byte[] buffer)` When the Exception Occurred.
    `void` | `onException(java.lang.Exception ex, ISegmentSet objISegmentSet)` Invoked when exception is raised.

- - ### Method Detail

    - #### onException

          void onException(java.lang.Exception ex,
                         byte[] buffer)

      When the Exception Occurred.
      Parameters:
        `ex` - Exception occurred while receiving deferred responses.
        `buffer` - data for which exception is raised.

    - #### onException

          void onException(java.lang.Exception ex,
                         ISegmentSet objISegmentSet)

      Invoked when exception is raised.
      Parameters:
        `ex` - Exception raised
        `objISegmentSet` - Specifies Object of Segment Set.