org.exolab.adaptx.util
Interface ErrorObserver
- DefaultObserver, ErrorListenerWrapper, ErrorObserverAdapter, ProcessorCallback, ResultFormatter, RuleProcessor, StylesheetHandler, TemplatesHandlerImpl, XSLTProcessor, XSLTReader
public interface ErrorObserver
A simple interface that allows warnings and errors to
be reported.
$Revision: 3829 $ $Date: 2003-09-09 06:42:42 +0200 (Tue, 09 Sep 2003) $
void | receiveError(Exception exception)- Signals an error with normal level
|
void | receiveError(Exception exception, String message)- Signals an error with normal level
|
void | receiveError(Exception exception, String message, int level)- Signals an error with the given error level
|
void | receiveError(Exception exception, int level)- Signals an error with the given error level
|
void | receiveError(String message)- Signals an error with normal level
|
void | receiveError(String message, int level)- Signals an error with the given error level
|
FATAL
public static final int FATAL
NORMAL
public static final int NORMAL
WARNING
public static final int WARNING
receiveError
public void receiveError(Exception exception)
Signals an error with normal level
exception - the Exception that caused the error
receiveError
public void receiveError(Exception exception,
String message) Signals an error with normal level
exception - the Exception that caused the errormessage - an option message, used when additional information
can be provided.
receiveError
public void receiveError(Exception exception,
String message,
int level) Signals an error with the given error level
exception - the Exception that caused the errormessage - an option message, used when additional information
can be provided.level - the error level
receiveError
public void receiveError(Exception exception,
int level) Signals an error with the given error level
exception - the Exception that caused the errorlevel - the error level
receiveError
public void receiveError(String message)
Signals an error with normal level
message - the error message
receiveError
public void receiveError(String message,
int level) Signals an error with the given error level
message - the error messagelevel - the error level