Interface ErrorObserver
- All Known Implementing Classes:
DefaultObserver, ErrorListenerWrapper, ErrorObserverAdapter, ProcessorCallback, ResultFormatter, RuleProcessor, StylesheetHandler, TemplatesHandlerImpl, XSLTProcessor, XSLTReader
public interface ErrorObserver
A simple interface that allows warnings and errors to
be reported.
- Version:
- $Revision: 3829 $ $Date: 2003-09-09 06:42:42 +0200 (Tue, 09 Sep 2003) $
- Author:
- Keith Visco
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidreceiveError(Exception exception) Signals an error with normal levelvoidreceiveError(Exception exception, int level) Signals an error with the given error levelvoidreceiveError(Exception exception, String message) Signals an error with normal levelvoidreceiveError(Exception exception, String message, int level) Signals an error with the given error levelvoidreceiveError(String message) Signals an error with normal levelvoidreceiveError(String message, int level) Signals an error with the given error level
-
Field Details
-
FATAL
static final int FATAL- See Also:
-
NORMAL
static final int NORMAL- See Also:
-
WARNING
static final int WARNING- See Also:
-
-
Method Details
-
receiveError
Signals an error with normal level- Parameters:
exception- the Exception that caused the error
-
receiveError
-
receiveError
Signals an error with the given error level- Parameters:
exception- the Exception that caused the errorlevel- the error level
-
receiveError
-
receiveError
Signals an error with normal level- Parameters:
message- the error message
-
receiveError
Signals an error with the given error level- Parameters:
message- the error messagelevel- the error level
-