org.granite.messaging.service
Class AbstractServiceExceptionHandler

java.lang.Object
  extended by org.granite.messaging.service.AbstractServiceExceptionHandler
All Implemented Interfaces:
Serializable, ServiceExceptionHandler
Direct Known Subclasses:
DefaultServiceExceptionHandler

public abstract class AbstractServiceExceptionHandler
extends Object
implements ServiceExceptionHandler

Author:
Marcelo SCHROEDER
See Also:
Serialized Form

Constructor Summary
AbstractServiceExceptionHandler(boolean logException)
           
 
Method Summary
protected  boolean getLogException()
           
protected  ServiceException getServiceException(Message request, Destination destination, String method, Throwable e)
           
protected  ServiceException getServiceException(ServiceInvocationContext context, Throwable e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.granite.messaging.service.ServiceExceptionHandler
handleInvocationException, handleNoSuchMethodException
 

Constructor Detail

AbstractServiceExceptionHandler

public AbstractServiceExceptionHandler(boolean logException)
Method Detail

getLogException

protected boolean getLogException()

getServiceException

protected ServiceException getServiceException(ServiceInvocationContext context,
                                               Throwable e)

getServiceException

protected ServiceException getServiceException(Message request,
                                               Destination destination,
                                               String method,
                                               Throwable e)