|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<FaultCode> org.springframework.ws.soap.server.endpoint.annotation.FaultCode
public enum FaultCode
Enumeration that represents the standard SOAP Fault codes for use with the JDK 1.5+ SoapFault
annotation.
Enum Constant Summary | |
---|---|
CLIENT
Constant used to indicate that a Client fault must be created. |
|
CUSTOM
Constant used to indicate that a fault must be created with a custom fault code. |
|
RECEIVER
Constant QName used to indicate that a Receiver fault must be created. |
|
SENDER
Constant QName used to indicate that a Sender fault must be created. |
|
SERVER
Constant QName used to indicate that a Server fault must be created. |
Method Summary | |
---|---|
QName |
value()
|
static FaultCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FaultCode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FaultCode CUSTOM
customFaultCode
string property must be used on SoapFault
.
Note that custom Fault Codes are only supported on SOAP 1.1.
SoapFault.customFaultCode()
,
Soap11Body.addFault(javax.xml.namespace.QName,String,java.util.Locale)
public static final FaultCode CLIENT
Client
fault must be created.
SoapBody.addClientOrSenderFault(String,java.util.Locale)
public static final FaultCode RECEIVER
QName
used to indicate that a Receiver
fault must be created.
SoapBody.addServerOrReceiverFault(String,java.util.Locale)
public static final FaultCode SENDER
QName
used to indicate that a Sender
fault must be created.
SoapBody.addServerOrReceiverFault(String,java.util.Locale)
public static final FaultCode SERVER
QName
used to indicate that a Server
fault must be created.
SoapBody.addClientOrSenderFault(String,java.util.Locale)
Method Detail |
---|
public static FaultCode[] values()
for (FaultCode c : FaultCode.values()) System.out.println(c);
public static FaultCode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic QName value()
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |