public class NettyConsumerExceptionHandler extends Object implements ExceptionHandler
Constructor and Description |
---|
NettyConsumerExceptionHandler(NettyConsumer consumer) |
Modifier and Type | Method and Description |
---|---|
void |
handleException(String message,
Exchange exchange,
Throwable exception)
Handles the given exception
|
void |
handleException(String message,
Throwable exception)
Handles the given exception
|
void |
handleException(Throwable exception)
Handles the given exception
|
public NettyConsumerExceptionHandler(NettyConsumer consumer)
public void handleException(Throwable exception)
ExceptionHandler
handleException
in interface ExceptionHandler
exception
- the exceptionpublic void handleException(String message, Throwable exception)
ExceptionHandler
handleException
in interface ExceptionHandler
message
- additional messageexception
- the exceptionpublic void handleException(String message, Exchange exchange, Throwable exception)
ExceptionHandler
handleException
in interface ExceptionHandler
message
- additional messageexchange
- exchange which cause the exceptionexception
- the exceptionCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.