com.sun.xml.ws.tx.common
Enum TxFault
java.lang.Object
java.lang.Enum<TxFault>
com.sun.xml.ws.tx.common.TxFault
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TxFault>
public enum TxFault
- extends java.lang.Enum<TxFault>
Enumeration of ws:coor fault types.
Note: fault "code" is only used in SOAP 1.2 faults and should be filled in
dynamically when the SOAPFault is being constructed. All of the faults
specified by ws:coor and ws:at should use SOAPConstants.SOAP_SENDER_FAULT.
Note: fault "detail" is only required in SOAP 1.2 faults, but is never
specified by ws:coor or ws:at, so I'm leaving this field out as well
- Since:
- 1.0
Method Summary |
static TxFault |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TxFault[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
InvalidState
public static final TxFault InvalidState
InvalidProtocol
public static final TxFault InvalidProtocol
InvalidParameters
public static final TxFault InvalidParameters
NoActivity
public static final TxFault NoActivity
ContextRefused
public static final TxFault ContextRefused
AlreadyRegistered
public static final TxFault AlreadyRegistered
InconsistentState
public static final TxFault InconsistentState
subcode
public final javax.xml.namespace.QName subcode
reason
public final java.lang.String reason
actionURI
public final java.lang.String actionURI
values
public static final TxFault[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(TxFault c : TxFault.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static TxFault valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name