com.cosylab.epics.caj.impl.handlers
Class ResponseRequestExceptionHandler

java.lang.Object
  extended by com.cosylab.epics.caj.impl.handlers.ResponseRequestExceptionHandler
All Implemented Interfaces:
ExceptionHandler

public class ResponseRequestExceptionHandler
extends Object
implements ExceptionHandler

Version:
$id$
Author:
Matej Sekoranja

Field Summary
protected  CAJContext context
          Context instance.
 
Constructor Summary
ResponseRequestExceptionHandler(CAJContext context)
           
 
Method Summary
 void handleException(int errorCode, int cid, String errorMessage, ByteBuffer originalHeaderBuffer)
          Exception response notification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected CAJContext context
Context instance.

Constructor Detail

ResponseRequestExceptionHandler

public ResponseRequestExceptionHandler(CAJContext context)
Parameters:
context -
Method Detail

handleException

public void handleException(int errorCode,
                            int cid,
                            String errorMessage,
                            ByteBuffer originalHeaderBuffer)
Description copied from interface: ExceptionHandler
Exception response notification.

Specified by:
handleException in interface ExceptionHandler
Parameters:
errorCode - exception code.
cid - channel ID, can me 0.
errorMessage - received detailed message.
originalHeaderBuffer - original request header buffer causing this exception.
See Also:
ExceptionHandler.handleException(int, int, java.lang.String, java.nio.ByteBuffer)


Copyright © 2004-2013 Cosylab. All Rights Reserved.