org.granite.messaging.service
Class DefaultServiceExceptionHandler

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

public class DefaultServiceExceptionHandler
extends AbstractServiceExceptionHandler

Author:
Marcelo SCHROEDER
See Also:
Serialized Form

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

Constructor Detail

DefaultServiceExceptionHandler

public DefaultServiceExceptionHandler()

DefaultServiceExceptionHandler

public DefaultServiceExceptionHandler(boolean logException)
Method Detail

handleNoSuchMethodException

public ServiceException handleNoSuchMethodException(Message request,
                                                    Destination destination,
                                                    Object invokee,
                                                    String method,
                                                    Object[] args,
                                                    NoSuchMethodException e)

handleInvocationException

public ServiceException handleInvocationException(ServiceInvocationContext context,
                                                  Throwable e)