Hello everybody! Amila Suriarachchi wrote:
On Tue, Sep 22, 2009 at 12:16 PM, Sebastian Schneider <[email protected] <mailto:[email protected]>> wrote:I still do not have found out why sometimes the word "Exception" is added to custom Exception classes and sometimes it is not?? If I have an Exception-class called MyException in the service implementation I sometimes find an inner class in the service stub which is called MyExceptionException instead of MyExceptionif there is an wsd:fault message for an operation it generates an exception class for that which has the sufix 'Exception'. But if you have a schema element with the name MyException it generates an ADB class for that and does not add a sufix.
I appreciate the answer very much but for my specific case what is the conclusion if I want to use my own exception classes leaving their names untouched? Do I really need to name my exception classes in the service implementation without the suffix Exception to afterwards just have one Exception-suffix in the generated code? Or does this mean I just have to tweak the configuration?
Thanks a lot for any help Sebastian -- Mit freundlichen Grüßen / Best regards / meilleures salutations Sebastian Schneider <[email protected]> Tel. 0 24 05 / 45 28 95 9
