Are you using any kind of DI framework? Apply an interceptor that catches and throws your stripped down exception.
Jeff On Nov 24, 2013 6:13 AM, "Rick Mann" <rm...@latencyzero.com> wrote: > If my server-side Hessian method throws an exception, what gets sent back > to my client is very verbose, complete with a stack trace. > > Is there any way to prevent Hessian from doing this? I'd like to throw a > simple, custom exception, and have only the data contained in that > exception get sent back to the client; not the entire call stack that led > to it. > > -- > Rick > > > > > _______________________________________________ > hessian-interest mailing list > hessian-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/hessian-interest > >
_______________________________________________ hessian-interest mailing list hessian-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/hessian-interest