org.gwtwidgets.server.spring
Interface ThrowableHandler


public interface ThrowableHandler

Interface for exception handlers of RPC services

Author:
g.georgovassilis[at]gmail.com

Method Summary
 java.lang.Throwable handle(java.lang.Throwable throwable, java.lang.Object target, java.lang.reflect.Method method, java.lang.Object[] arguments)
          Is provided with the:
 

Method Detail

handle

java.lang.Throwable handle(java.lang.Throwable throwable,
                           java.lang.Object target,
                           java.lang.reflect.Method method,
                           java.lang.Object[] arguments)
Is provided with the:

Parameters:
throwable - that was thrown while invoking on...
target - the...
method - with the following...
arguments -
Returns:
Must return a throwable which can be propagated to the client, i.e. the class must be known to the client at compile time and implement Serializable or IsSerializable


Copyright © 2011. All Rights Reserved.