|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited public @interface SoapFault
Marks an exception class with the fault elements that should be returned whenever this exception is thrown.
SoapFaultAnnotationExceptionResolver
Required Element Summary | |
---|---|
FaultCode |
faultCode
The fault code. |
Optional Element Summary | |
---|---|
String |
customFaultCode
The custom fault code, to be used if faultCode() is set to FaultCode.CUSTOM . |
String |
faultStringOrReason
The fault string or reason text. |
String |
locale
The fault string locale. |
Element Detail |
---|
public abstract FaultCode faultCode
public abstract String customFaultCode
faultCode()
is set to FaultCode.CUSTOM
.
The format used is that of 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.
public abstract String faultStringOrReason
public abstract String locale
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |