axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: best practices for exceptions?
Date Sat, 11 Sep 2004 14:08:42 GMT
Im certainly no expert and I was asking the same thing but from my
understanding, you can extend remote exception and catch them but you
loose interop so the best way is to extend axis fault and use constants to
set fault codes which you can then get at client side. The catch is you
cant (or I cant anyrate) catch them but rather have to wrap some ugly
logic / casting to figure out what specific fault you got when you catch
the axis fault. You can then do setFaultDetail(localised string) etc.

Richard Hansen posted some interesting stuff @


View raw message