Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by RodrigoRuiz: http://wiki.apache.org/ws/FrontPage/Axis/AxisClientConfiguration/InterruptCalls ------------------------------------------------------------------------------ super.invoke(ctx); } catch (AxisFault fault) { Throwable cause = fault.getCause(); - if (cause instanceof SocketException && t.isInterrupted()) { + if (cause instanceof SocketTimeoutException) { + // Special case of InterruptedIOException + throw fault; + else if (cause instanceof InterruptedIOException) { InterruptedException ie = new InterruptedException(); ie.setStackTrace(cause.getStackTrace()); - fault = AxisFault.makeFault(ie); + throw AxisFault.makeFault(ie); + } else if (cause instanceof SocketException && t.isInterrupted()) { + InterruptedException ie = new InterruptedException(); + ie.setStackTrace(cause.getStackTrace()); + throw AxisFault.makeFault(ie); + } else { + throw fault; } - throw fault; } finally { SOCKETS.remove(t); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
