|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.reverseXSL.types.Impact
public final class Impact
Impact singletons specify the impact-level of a given exception onto a processed message (FATAL or WARNING), and not onto the system in general. It is a strong typed enumeration class compatible with JDK1.4.
Valid enumeration values are all like Impact.CODE
where CODE
must be a valid code; for the list of codes see table
.
com.reverseXSL.parser.ParserException
,
Serialized FormField Summary | |
---|---|
static Impact |
FATAL
FATAL exception for the relevant message; it implies that the message cannot be processed to the end, and will be rejected; the parser may be allowed to continue and record more than one FATAL exception before rejecting a message. |
static Impact[] |
table
May be used to iterate over all possible enumeration values. |
static Impact |
WARNING
WARNING impact exception affecting a message; the message may in theory be processed entirely and even distributed to recipients, but with warnings. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
toCode()
|
java.lang.String |
toString()
Provides a default string rendering with long name only. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Impact FATAL
public static final Impact[] table
public static final Impact WARNING
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toCode()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |