|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.deltaxml.sync.jaxp.FailureSeverity
public class FailureSeverity
Defines the severity of a SynchronizerProcessingException. Depending on the severity, the synchronization process may continue or terminate. The severities also correspond to the 3 exception reporting methods used in the ErrorListener, so that for example all SynchronizerProcessingExceptions reported through the warning method will have Severity WARNING. The code is based on type-safe enum pattern (See item 21 of Joshua Bloch's 'Effective Java', ISBN: 0201310058).
| Field Summary | |
|---|---|
static FailureSeverity |
ERROR
An ERROR Severity is one which may affect the viability of the Synchronization result. |
static FailureSeverity |
FATAL_ERROR
A SynchronizerProcessingException with FATAL_ERROR severity is one which may cause subsequent processing to terminate without producing any results. |
static FailureSeverity |
WARNING
A SynchronizerProcessingException with WARNING severity is one in which dubious input data has been detected. |
| Method Summary | |
|---|---|
String |
toString()
Produces a String representation of the Severity. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final FailureSeverity ERROR
public static final FailureSeverity FATAL_ERROR
public static final FailureSeverity WARNING
| Method Detail |
|---|
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||