org.exolab.adaptx.util
Interface ErrorObserver
- DefaultObserver, ErrorObserverAdapter, ProcessorCallback, ResultFormatter, RuleProcessor, StylesheetHandler, XSLTProcessor, XSLTReader
public interface ErrorObserver
A simple interface that allows xsl:message actions to be
observed.
Version:
- Keith Visco
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
- 0
NORMAL
public static final int NORMAL
- 1
WARNING
public static final int WARNING
- 2
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