Enum FaultCode
- java.lang.Object
-
- java.lang.Enum<FaultCode>
-
- ch.aeis.exchange.web.ws.exchange_1_0.FaultCode
-
- All Implemented Interfaces:
Serializable
,Comparable<FaultCode>
public enum FaultCode extends Enum<FaultCode>
- Author:
- Rainer Alföldi
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREDENTIALS_MISSING
EXTENDED_VALIDATION
GENERIC
ILLEGAL_ACCESS
ILLEGAL_ARGUMENT
ILLEGAL_STATE
RECIPIENT_INVALID
SERVER
WRONG_CREDENTIALS
XML_INVALID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Enum Constant Detail
-
GENERIC
public static final FaultCode GENERIC
-
SERVER
public static final FaultCode SERVER
-
CREDENTIALS_MISSING
public static final FaultCode CREDENTIALS_MISSING
-
WRONG_CREDENTIALS
public static final FaultCode WRONG_CREDENTIALS
-
ILLEGAL_ACCESS
public static final FaultCode ILLEGAL_ACCESS
-
ILLEGAL_ARGUMENT
public static final FaultCode ILLEGAL_ARGUMENT
-
ILLEGAL_STATE
public static final FaultCode ILLEGAL_STATE
-
RECIPIENT_INVALID
public static final FaultCode RECIPIENT_INVALID
-
XML_INVALID
public static final FaultCode XML_INVALID
-
EXTENDED_VALIDATION
public static final FaultCode EXTENDED_VALIDATION
-
-
Method Detail
-
values
public static FaultCode[] 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 (FaultCode c : FaultCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FaultCode 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
-
-