Further to my previous email, I've traced the problem to this method:

public static AxisFault makeFault(Exception e)
    {
        if (e instanceof InvocationTargetException) {
            Throwable t =
((InvocationTargetException)e).getTargetException();
            if (t instanceof Exception) {
                e = (Exception)t;
            }
        }

        if (e instanceof AxisFault) { <<< this should return true!
            return (AxisFault)e;
        }

        return new AxisFault(e); <<< This is throwing the Exception
    }

What I find strange is that my Exception is not being recognised as an
AxisFault (see instanceof AxisFault above)

Enrico

Reply via email to