Enum Class FaultCode
- All Implemented Interfaces:
Serializable,Comparable<FaultCode>,java.lang.constant.Constable
Enumeration that represents the standard SOAP Fault codes for use with the JDK 1.5+
SoapFault annotation.- Since:
- 1.0.0
- Author:
- Arjen Poutsma
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConstant used to indicate that aClientfault must be created.Constant used to indicate that a fault must be created with a custom fault code.ConstantQNameused to indicate that aReceiverfault must be created.ConstantQNameused to indicate that aSenderfault must be created.ConstantQNameused to indicate that aServerfault must be created. -
Method Summary
-
Enum Constant Details
-
CUSTOM
Constant used to indicate that a fault must be created with a custom fault code. When this value is used, thecustomFaultCodestring property must be used onSoapFault.Note that custom Fault Codes are only supported on SOAP 1.1.
-
CLIENT
Constant used to indicate that aClientfault must be created. -
RECEIVER
ConstantQNameused to indicate that aReceiverfault must be created. -
SENDER
ConstantQNameused to indicate that aSenderfault must be created. -
SERVER
ConstantQNameused to indicate that aServerfault must be created.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
value
-