com.ibm.bpe.api
Class ErrorTypeEnum
- java.lang.Object
com.ibm.bpe.api.ErrorTypeEnum
All implemented interfaces:
java.io.Serializable
- public final class ErrorTypeEnum
- extends java.lang.Object
- implements java.io.Serializable
Since:
6.0.2
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
|
ERROR
|
|
INFO
|
|
WARNING
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
newErrorTypeEnum(int errorType)
Factory method to create an ErrorTypeEnum object.
|
|
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:
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.