org.mmbase.util.xml
Class ErrorHandler

java.lang.Object
  extended by org.mmbase.util.xml.ErrorHandler
All Implemented Interfaces:
ErrorHandler
Direct Known Subclasses:
XMLErrorHandler

public class ErrorHandler
extends Object
implements ErrorHandler

Provides ErrorHandler methods

Version:
$Id: ErrorHandler.java 42842 2010-07-09 13:28:35Z michiel $
Author:
Gerard van Enk

Field Summary
static int ERROR
           
static int FATAL_ERROR
           
static int NEVER
           
static int WARNING
           
 
Constructor Summary
ErrorHandler()
           
ErrorHandler(boolean log, int exceptionLevel)
           
 
Method Summary
 void error(SAXParseException ex)
           
 void fatalError(SAXParseException ex)
           
 boolean foundError()
           
 boolean foundFatalError()
           
 boolean foundNothing()
           
 boolean foundWarning()
           
 String getMessageBuffer()
           
 void warning(SAXParseException ex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WARNING

public static final int WARNING
See Also:
Constant Field Values

ERROR

public static final int ERROR
See Also:
Constant Field Values

FATAL_ERROR

public static final int FATAL_ERROR
See Also:
Constant Field Values

NEVER

public static final int NEVER
See Also:
Constant Field Values
Constructor Detail

ErrorHandler

public ErrorHandler()

ErrorHandler

public ErrorHandler(boolean log,
                    int exceptionLevel)
Method Detail

warning

public void warning(SAXParseException ex)
             throws SAXException
Specified by:
warning in interface ErrorHandler
Throws:
SAXException

error

public void error(SAXParseException ex)
           throws SAXException
Specified by:
error in interface ErrorHandler
Throws:
SAXException

fatalError

public void fatalError(SAXParseException ex)
                throws SAXException
Specified by:
fatalError in interface ErrorHandler
Throws:
SAXException

foundWarning

public boolean foundWarning()

foundError

public boolean foundError()

foundFatalError

public boolean foundFatalError()

foundNothing

public boolean foundNothing()

getMessageBuffer

public String getMessageBuffer()


MMBase 2.0-SNAPSHOT - null