Package com.yahoo.docproc.jdisc
Enum RequestContext.ErrorCode
- java.lang.Object
-
- java.lang.Enum<RequestContext.ErrorCode>
-
- com.yahoo.docproc.jdisc.RequestContext.ErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<RequestContext.ErrorCode>
- Enclosing interface:
- RequestContext
public static enum RequestContext.ErrorCode extends Enum<RequestContext.ErrorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_ABORTED
ERROR_BUSY
ERROR_PROCESSING_FAILURE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDiscStatus()
int
getDocumentProtocolStatus()
static RequestContext.ErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static RequestContext.ErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR_ABORTED
public static final RequestContext.ErrorCode ERROR_ABORTED
-
ERROR_BUSY
public static final RequestContext.ErrorCode ERROR_BUSY
-
ERROR_PROCESSING_FAILURE
public static final RequestContext.ErrorCode ERROR_PROCESSING_FAILURE
-
-
Method Detail
-
values
public static RequestContext.ErrorCode[] 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 (RequestContext.ErrorCode c : RequestContext.ErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestContext.ErrorCode 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
-
getDiscStatus
public int getDiscStatus()
-
getDocumentProtocolStatus
public int getDocumentProtocolStatus()
-
-