public enum FaultCode extends Enum<FaultCode>
SoapFault annotation.| Enum Constant and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
public static final FaultCode CLIENT
Client fault must be created.public static final FaultCode RECEIVER
QName used to indicate that a Receiver fault must be created.public static final FaultCode SENDER
QName used to indicate that a Sender fault must be created.public static final FaultCode SERVER
QName used to indicate that a Server fault must be created.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 nameNullPointerException - if the argument is nullpublic QName value()