This commit is contained in:
Arjen Poutsma
2007-08-14 12:13:11 +00:00
parent b26ef48587
commit 8bde2ad629

View File

@@ -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}.
* <p/>
* The format used is that of {@link QName#toString()}, i.e. "{" + Namespace URI + "}" + local part, where the
* namespace is optional.
* <p/>
* Note that custom Fault Codes are only supported on SOAP 1.1.
*/
String customFaultCode() default "";