public class SoapFaultDefinition extends Object
SoapFaultDefinitionEditor
and the
SoapFaultMappingExceptionResolver
.SoapFaultDefinitionEditor
,
SoapFaultMappingExceptionResolver
Modifier and Type | Field and Description |
---|---|
static QName |
CLIENT
Constant
QName used to indicate that a Client fault must be created. |
static QName |
RECEIVER
Constant
QName used to indicate that a Receiver fault must be created. |
static QName |
SENDER
Constant
QName used to indicate that a Sender fault must be created. |
static QName |
SERVER
Constant
QName used to indicate that a Server fault must be created. |
Constructor and Description |
---|
SoapFaultDefinition() |
Modifier and Type | Method and Description |
---|---|
QName |
getFaultCode()
Returns the fault code.
|
String |
getFaultStringOrReason()
Returns the fault string or reason text.
|
Locale |
getLocale()
Gets the fault string locale.
|
void |
setFaultCode(QName faultCode)
Sets the fault code.
|
void |
setFaultStringOrReason(String faultStringOrReason)
Sets the fault string or reason text.
|
void |
setLocale(Locale locale)
Sets the fault string locale.
|
public static final QName CLIENT
QName
used to indicate that a Client
fault must be created.public static final QName RECEIVER
QName
used to indicate that a Receiver
fault must be created.public static final QName SENDER
QName
used to indicate that a Sender
fault must be created.public static final QName SERVER
QName
used to indicate that a Server
fault must be created.public QName getFaultCode()
public void setFaultCode(QName faultCode)
public String getFaultStringOrReason()
public void setFaultStringOrReason(String faultStringOrReason)
public Locale getLocale()
Locale.ENGLISH
public void setLocale(Locale locale)
Locale.ENGLISH