IBM WebSphere Application ServerTM
Release 7

com.ibm.task.api
Class ErrorTypeEnum

java.lang.Object
  extended by 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

Field Summary
static java.lang.String COPYRIGHT
           
static ErrorTypeEnum ERROR
           
static ErrorTypeEnum INFO
           
static ErrorTypeEnum WARNING
           
 
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
 

Field Detail

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
Method Detail

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.

IBM WebSphere Application ServerTM
Release 7