@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited public @interface SoapFault
SoapFaultAnnotationExceptionResolver
Modifier and Type | Required Element and Description |
---|---|
FaultCode |
faultCode
The fault code.
|
Modifier and Type | Optional Element and Description |
---|---|
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.
|
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
Copyright © 2020 Pivotal Software. All rights reserved.