wood burning stoves*
The moose likes GWT and the fly likes Problem handling exceptions in client side Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Problem handling exceptions in client side" Watch "Problem handling exceptions in client side" New topic

Problem handling exceptions in client side

Ana Sande

Joined: Jan 18, 2011
Posts: 1
Hi. I am trying to send a personal exception from server to client
side, following the steps described in this thread
but is not working for me.
Whatever i do, I allways get the same error in client side,
"com.google.gwt.user.client.rpc.StatusCodeException: The call failed
on the server; see server log for details"
Let me show you my code:
Server side service:

My personal exception code:

And my client side method:

Can anybody help me? Thank you in advance.
Rakesh Chaudhary
Ranch Hand

Joined: Feb 19, 2008
Posts: 120

Check giving just a alert in the client code....removing all the other code...I think control fails in asynchronizing

Acquire the unexpected.......
Preparing for SCJP 6
I agree. Here's the link: http://aspose.com/file-tools
subject: Problem handling exceptions in client side
Similar Threads
Objects to capture!!
Exception Handling
Runtime Exception (Wrap IOException)
NX: URLy Bird 1.3.1 Explicit Fatal Exception Handling
JAX-WS Custom Exception