org.gwtwidgets.server.spring
Interface ThrowableHandler


public interface ThrowableHandler

Interface for exception handlers of RPC services

Author:
g.georgovassilis[at]gmail.com

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

Method Detail

handle

Throwable handle(Throwable throwable,
                 Object target,
                 Method method,
                 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.