Class ResponseRequestExceptionHandler
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected CAJContextcontextContext instance.
-
Constructor Summary
Constructors Constructor Description ResponseRequestExceptionHandler(CAJContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleException(int errorCode, int cid, String errorMessage, ByteBuffer originalHeaderBuffer)Exception response notification.
-
-
-
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:ExceptionHandlerException response notification.- Specified by:
handleExceptionin interfaceExceptionHandler- 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)
-
-