com.ibm.task.api
Class ErrorTypeEnum
java.lang.Object
com.ibm.task.api.ErrorTypeEnum
- All Implemented Interfaces:
- java.io.Serializable
public final class ErrorTypeEnum
- extends java.lang.Object
- implements java.io.Serializable
This enumeration class defines symbolic constants for error types that are
found during validation of objects created spontaneously (ad-hoc).
Possible values are:
- Since:
- 6.0.1.0
- See Also:
- Serialized Form
Method Summary |
static ErrorTypeEnum |
newErrorTypeEnum(int errorType)
Factory method to create an ErrorTypeEnum object. |
java.lang.String |
toString()
Returns a string representation of the ErrorTypeEnum object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
INFO
public static final ErrorTypeEnum INFO
WARNING
public static final ErrorTypeEnum WARNING
ERROR
public static final ErrorTypeEnum ERROR
newErrorTypeEnum
public static ErrorTypeEnum newErrorTypeEnum(int errorType)
- Factory method to create an ErrorTypeEnum object.
- Parameters:
errorType
- The int value of the ErrorTypeEnum: 0=INFO, 1=WARNING, 2=ERROR.
- Returns:
- ErrorTypeEnum -
The ErrorTypeEnum object created.
toString
public java.lang.String toString()
- Returns a string representation of the ErrorTypeEnum object.
- Overrides:
toString
in class java.lang.Object
- Returns:
- String -
A string representation of the object.