[jboss-user] [Remoting] - Re: Multiple problems with ServerInvokerServlet and HttpNami

ron.sigal@jboss.com do-not-reply at jboss.com
Thu Dec 20 18:37:15 EST 2007


Hi Martin,

That org.jboss.remoting.transport.servlet.ServletThrowable is used to wrap the actual exception thrown by the application code.  On the client side HTTPClientInvoker should unwrap that ServletThrowable and throw the actual exception.  

Are you saying that the call to de.kem.piq.client.util.DocumentHelper.createDocument() is throwing the ServletThrowable? 

Note, by the way, that if you set NO_THROW_ON_ERROR to true, createDocument() will *return* the ServletThrowable instead of unwrapping it and throwing the actual exception, so you probably don't want to do that.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114837#4114837

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114837



More information about the jboss-user mailing list