Enum ServiceChannelErrorCode
- java.lang.Object
-
- java.lang.Enum<ServiceChannelErrorCode>
-
- com.sun.xml.ws.transport.tcp.servicechannel.ServiceChannelErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<ServiceChannelErrorCode>
public enum ServiceChannelErrorCode extends Enum<ServiceChannelErrorCode>
- Author:
- Alexey Stashok
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENT_NEGOTIATION_FAILEDTOO_MANY_OPEN_CHANNELS_FOR_SESSIONTOO_MANY_OPEN_SESSIONSUNKNOWN_CHANNEL_IDUNKNOWN_ENDPOINT_ADDRESS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceChannelErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static ServiceChannelErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOO_MANY_OPEN_SESSIONS
public static final ServiceChannelErrorCode TOO_MANY_OPEN_SESSIONS
-
TOO_MANY_OPEN_CHANNELS_FOR_SESSION
public static final ServiceChannelErrorCode TOO_MANY_OPEN_CHANNELS_FOR_SESSION
-
UNKNOWN_ENDPOINT_ADDRESS
public static final ServiceChannelErrorCode UNKNOWN_ENDPOINT_ADDRESS
-
CONTENT_NEGOTIATION_FAILED
public static final ServiceChannelErrorCode CONTENT_NEGOTIATION_FAILED
-
UNKNOWN_CHANNEL_ID
public static final ServiceChannelErrorCode UNKNOWN_CHANNEL_ID
-
-
Method Detail
-
values
public static ServiceChannelErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ServiceChannelErrorCode c : ServiceChannelErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceChannelErrorCode valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-