public class RethrowingComparatorErrorHandler
extends java.lang.Object
ErrorListener
that throws errors and fatalErrors when they are reported. Warnings are ignored.Constructor and Description |
---|
RethrowingComparatorErrorHandler()
Constructs a RethrowingComparatorErrorHandler.
|
Modifier and Type | Method and Description |
---|---|
void |
error(DeltaXMLProcessingException dxpe)
Receives notification of a recoverable error and throws an Exception.
|
void |
fatalError(DeltaXMLProcessingException dxpe)
Receives notification of a fatal error and throws an Exception.
|
boolean |
getFatalDetected()
Determines whether a fatal error has been detected by this
ErrorListener . |
void |
warning(DeltaXMLProcessingException dxpe)
Receives notification of a recoverable warning and ignores it.
|
public RethrowingComparatorErrorHandler()
public void warning(DeltaXMLProcessingException dxpe)
dxpe
- the DeltaXMLProcessingException
that caused the warningErrorListener.warning(DeltaXMLProcessingException)
public void error(DeltaXMLProcessingException dxpe) throws DeltaXMLProcessingException
dxpe
- the DeltaXMLProcessingException
that caused the errorDeltaXMLProcessingException
- this is always re-thrownErrorListener.error(DeltaXMLProcessingException)
public void fatalError(DeltaXMLProcessingException dxpe) throws DeltaXMLProcessingException
dxpe
- the DeltaXMLProcessingException
that caused the errorDeltaXMLProcessingException
- this is always re-thrownErrorListener.fatalError(DeltaXMLProcessingException)
public boolean getFatalDetected()
ErrorListener
.ErrorListener