public class RethrowingComparatorErrorHandler extends java.lang.Object implements ErrorListener
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)
warning in interface ErrorListenerdxpe - the DeltaXMLProcessingException that caused the warningErrorListener.warning(DeltaXMLProcessingException)public void error(DeltaXMLProcessingException dxpe) throws DeltaXMLProcessingException
error in interface ErrorListenerdxpe - the DeltaXMLProcessingException that caused the errorDeltaXMLProcessingException - this is always re-thrownErrorListener.error(DeltaXMLProcessingException)public void fatalError(DeltaXMLProcessingException dxpe) throws DeltaXMLProcessingException
fatalError in interface ErrorListenerdxpe - the DeltaXMLProcessingException that caused the errorDeltaXMLProcessingException - this is always re-thrownErrorListener.fatalError(DeltaXMLProcessingException)public boolean getFatalDetected()
ErrorListener.getFatalDetected in interface ErrorListenerErrorListenerCopyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.