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 ConstantDescriptionConstant used to indicate that aClient
fault must be created.Constant used to indicate that a fault must be created with a custom fault code.ConstantQName
used to indicate that aReceiver
fault must be created.ConstantQName
used to indicate that aSender
fault must be created.ConstantQName
used to indicate that aServer
fault 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, thecustomFaultCode
string property must be used onSoapFault
.Note that custom Fault Codes are only supported on SOAP 1.1.
-
CLIENT
Constant used to indicate that aClient
fault must be created. -
RECEIVER
ConstantQName
used to indicate that aReceiver
fault must be created. -
SENDER
ConstantQName
used to indicate that aSender
fault must be created. -
SERVER
ConstantQName
used to indicate that aServer
fault 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
-