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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
receiveError(java.lang.Exception exception)
Signals an error with normal levelvoid
receiveError(java.lang.Exception exception, int level)
Signals an error with the given error levelvoid
receiveError(java.lang.Exception exception, java.lang.String message)
Signals an error with normal levelvoid
receiveError(java.lang.Exception exception, java.lang.String message, int level)
Signals an error with the given error levelvoid
receiveError(java.lang.String message)
Signals an error with normal levelvoid
receiveError(java.lang.String message, int level)
Signals an error with the given error level
-
-
-
Field Detail
-
FATAL
static final int FATAL
- See Also:
- Constant Field Values
-
NORMAL
static final int NORMAL
- See Also:
- Constant Field Values
-
WARNING
static final int WARNING
- See Also:
- Constant Field Values
-
-
Method Detail
-
receiveError
void receiveError(java.lang.Exception exception)
Signals an error with normal level- Parameters:
exception
- the Exception that caused the error
-
receiveError
void receiveError(java.lang.Exception exception, java.lang.String message)
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
void receiveError(java.lang.Exception exception, int level)
Signals an error with the given error level- Parameters:
exception
- the Exception that caused the errorlevel
- the error level
-
receiveError
void receiveError(java.lang.Exception exception, java.lang.String message, int level)
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
void receiveError(java.lang.String message)
Signals an error with normal level- Parameters:
message
- the error message
-
receiveError
void receiveError(java.lang.String message, int level)
Signals an error with the given error level- Parameters:
message
- the error messagelevel
- the error level
-
-