|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.deltaxml.sync.jaxp.DefaultErrorHandler
public class DefaultErrorHandler
Provides the built-in default ErrorListener if the user
does not set one using the Synchronizer.setErrorListener(ErrorListener)
method.
It reports all warnings, errors and fatal errors
to System.err.
ErrorListener,
Synchronizer.setErrorListener(ErrorListener)| Constructor Summary | |
|---|---|
DefaultErrorHandler()
Construct a new DefaultErrorHandler. |
|
| Method Summary | |
|---|---|
void |
error(SynchronizerProcessingException e)
Reports errors to System.err. |
void |
fatalError(SynchronizerProcessingException e)
Reports fatal errors to System.err. |
void |
warning(SynchronizerProcessingException e)
Reports warnings to System.err. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultErrorHandler()
| Method Detail |
|---|
public void warning(SynchronizerProcessingException e)
throws SynchronizerProcessingException
System.err.
Although this method is declared to throw a SynchronizerProcessingException
in order to comply with the ErrorListener interface, this implementation method,
by design, will not throw this exception.
warning in interface ErrorListenere - An exception providing details of the warning
SynchronizerProcessingException - this implementation by design does not throw this exception
public void fatalError(SynchronizerProcessingException e)
throws SynchronizerProcessingException
System.err.
Although this method is declared to throw a SynchronizerProcessingException
in order to comply with the ErrorListener interface, this implementation method,
by design, will not throw this exception.
fatalError in interface ErrorListenere - An exception providing details of the fatal error
SynchronizerProcessingException - this implementation by design does not throw this exception
public void error(SynchronizerProcessingException e)
throws SynchronizerProcessingException
System.err.
Although this method is declared to throw a SynchronizerProcessingException
in order to comply with the ErrorListener interface, this implementation method,
by design, will not throw this exception.
error in interface ErrorListenere - An exception providing details of the error
SynchronizerProcessingException - this implementation by design does not throw this exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||