|
Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6.3) E26229-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<ErrorType>
oracle.as.scheduler.ErrorType
public enum ErrorType
Enum of error types. The error type is valid only when the request state is ERROR
, and it distinguishes which type of error occurred.
Enum Constant Summary | |
---|---|
BUSINESS Business error type. |
|
MIXED_BUSINESS Error type used for a parallel JobSet that had more than one ERROR step with different error types, at least one of which was BUSINESS. |
|
MIXED_NON_BUSINESS Error type used for a parallel JobSet that had more than one ERROR step with different error types, none of which were BUSINESS. |
|
SYSTEM System error type. |
|
TIMEOUT Asynchronous request timeout. |
|
UNKNOWN Unknown or invalid error type |
Method Summary | |
---|---|
static ErrorType |
from(javax.management.openmbean.CompositeData cd) |
static ErrorType |
fromString(java.lang.String errorTypeStr) Converts a stringified error type into an ErrorType object. |
javax.management.openmbean.CompositeData |
toCompositeData(javax.management.openmbean.CompositeType ct) |
static javax.management.openmbean.CompositeType |
toCompositeType() Returns the CompositeType that describes this model specific class |
java.lang.String |
toString(java.util.Locale locale) |
int |
value() Returns the numeric value for the error type. |
static ErrorType |
valueOf(int value) Returns the error type for the given numeric value. |
static ErrorType |
valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static ErrorType[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ErrorType UNKNOWN
public static final ErrorType SYSTEM
public static final ErrorType BUSINESS
public static final ErrorType TIMEOUT
public static final ErrorType MIXED_NON_BUSINESS
Examine each of the child requests to determine the error type for each step.
public static final ErrorType MIXED_BUSINESS
Examine each of the child requests to determine the error type for each step.
Method Detail |
---|
public static ErrorType[] values()
for (ErrorType c : ErrorType.values()) System.out.println(c);
public static ErrorType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static ErrorType valueOf(int value)
value
- to convert to error typepublic static javax.management.openmbean.CompositeType toCompositeType()
public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
public static ErrorType from(javax.management.openmbean.CompositeData cd) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static ErrorType fromString(java.lang.String errorTypeStr)
errorTypeStr
-errorTypeStr
or ErrorType.UNKNOWN
if the conversion could not be made.public java.lang.String toString(java.util.Locale locale)
|
Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6.3) E26229-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |