Hi.

Has anybody any experience with custom exceptions in axis? I
tried to throw my own checked exception, but always get AxisFault,
containing only stack trace as details and Server.userException as a fault
code.

I looked into the axis source code and it seems there is no way to throw
custom exceptions. The critical part (as I guessed) is AxisFault.java,
method initFromException(Exception target). It does not serialize target
exception to XML - it simply gets the stack trace and a class name.

Another method is initFromSOAPFaultException(SOAPFaultException fault),
but SOAPFaultException not seems to be intended to use by business
classes.

Is there any way to fix this problem, or this is a bug?

Thanx in advance

MJS

Reply via email to