public interface InterceptorErrorHandler<T extends Event>
AbstractMessageInterceptor
,
AbstractServerInterceptor
.
The implemented error handler is associated to the interceptor implementations with the ErrorHandler
annotation, while this can be just the class in which case there has to be a default constructor, it can also be
loaded as a spring bean, by specifying the bean
property of the annotation.
Modifier and Type | Method and Description |
---|---|
boolean |
handleError(T event,
Exception e)
Implements the error handling for the type of the event to which this error handler belongs to.
|
Copyright © 2010–2016 AdroitLogic. All rights reserved.