Restlet 2.3 introduced annotated exceptions, but this user-defined exception
isn't delivered to GWT clients. The GWT client only receives the status
This is because of the ClientProxyGenerator implementation;

public void postLocation(LocationDto param1, final LocationDto> callback)

    public void handle(Request request, Response response)
       if (getClientResource().getStatus().isError())



In this post Thierry Templier describes it is possible to use annotated
exceptions towards clients;

Is it possible to use this technique in the GWT implementations (enabling
user-defined exception with Restlet and GWT)?

See also my post on this subject at stackoverflow;


Roland Beuker

View this message in context:
Sent from the Restlet Discuss mailing list archive at


Reply via email to