You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by Oliver Cole <ol...@onesteprevolution.com> on 2005/07/28 14:55:54 UTC
Removing exception names from the returned fault
Hi,
Is there any way I can remove exception names from a returned fault? For
example:
throw new IllegalArgumentException("Invalid consignment ID");
results in:
http://www.onesteprevolution.com/temp/fault1.xml
specifically:
<value>
java.lang.Exception: java.lang.IllegalArgumentException: Invalid
consignment ID
</value>
How can I get rid of the "java.lang.Exception:
java.lang.IllegalArgumentException: " bit?
Thanks in advance,
Oliver