From 8bde2ad62957185ddf9454c733b5aa67b89eac7c Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Tue, 14 Aug 2007 12:13:11 +0000 Subject: [PATCH] SWS-154 --- .../ws/soap/server/endpoint/annotation/SoapFault.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core-tiger/src/main/java/org/springframework/ws/soap/server/endpoint/annotation/SoapFault.java b/core-tiger/src/main/java/org/springframework/ws/soap/server/endpoint/annotation/SoapFault.java index 3c29f250..ca0d5b69 100644 --- a/core-tiger/src/main/java/org/springframework/ws/soap/server/endpoint/annotation/SoapFault.java +++ b/core-tiger/src/main/java/org/springframework/ws/soap/server/endpoint/annotation/SoapFault.java @@ -22,6 +22,7 @@ import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +import javax.xml.namespace.QName; /** * Marks an exception class with the fault elements that should be returned whenever this exception is thrown. @@ -41,6 +42,9 @@ public @interface SoapFault { /** * The custom fault code, to be used if {@link #faultCode()} is set to {@link FaultCode#CUSTOM}. *

+ * The format used is that of {@link QName#toString()}, i.e. "{" + Namespace URI + "}" + local part, where the + * namespace is optional. + *

* Note that custom Fault Codes are only supported on SOAP 1.1. */ String customFaultCode() default "";