Re: user-defined Exceptions

2003-01-29 Thread Steve Loughran
- Original Message - From: "Olivier Gauwin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 00:56 Subject: Re: user-defined Exceptions > > > Thanks, Steve, but I still have a problem... > > I've tried this (with

Re: user-defined Exceptions

2003-01-29 Thread Olivier Gauwin
Steve Loughran wrote: I've also tried to use child nodes for "why" and it works. The only thing is that I would like to have : Just to test BadRecord instead of : but I can't find a way to do that (I've tried with setUserObject and setNodeValue but it doesn't work).

Re: user-defined Exceptions

2003-01-27 Thread Steve Loughran
- Original Message - From: "Olivier Gauwin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 24, 2003 07:01 Subject: Re: user-defined Exceptions > I've found the beginning of a solution for this problem, but I still > have questions.

Re: user-defined Exceptions

2003-01-24 Thread Olivier Gauwin
I've found the beginning of a solution for this problem, but I still have questions. Now my server code looks like : try{ ... } catch (MyException e) { String code = "Server"; String faultString = "The following exception has been raised by the server : " + e.getCl