Package org.exolab.adaptx.util
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 TypeMethodDescriptionvoid
receiveError
(Exception exception) Signals an error with normal levelvoid
receiveError
(Exception exception, int level) Signals an error with the given error levelvoid
receiveError
(Exception exception, String message) Signals an error with normal levelvoid
receiveError
(Exception exception, String message, int level) Signals an error with the given error levelvoid
receiveError
(String message) Signals an error with normal levelvoid
receiveError
(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
Signals an error with normal level- Parameters:
exception
- the Exception that caused the errormessage
- an option message, used when additional information can be provided.
-
receiveError
Signals an error with the given error level- Parameters:
exception
- the Exception that caused the errorlevel
- the error level
-
receiveError
Signals an error with the given error level- Parameters:
exception
- the Exception that caused the errormessage
- an option message, used when additional information can be provided.level
- the error level
-
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
-