SWS-154
This commit is contained in:
@@ -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 "";
|
||||
|
||||
Reference in New Issue
Block a user