org.jboss.util.xml
Class JBossErrorHandler
java.lang.Object
org.jboss.util.xml.JBossErrorHandler
- All Implemented Interfaces:
- ErrorListener, ErrorHandler
public class JBossErrorHandler
- extends Object
- implements ErrorHandler, ErrorListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBossErrorHandler
public JBossErrorHandler(String fileName,
JBossEntityResolver resolver)
error
public void error(SAXParseException e)
- Specified by:
error
in interface ErrorHandler
fatalError
public void fatalError(SAXParseException e)
- Specified by:
fatalError
in interface ErrorHandler
warning
public void warning(SAXParseException e)
- Specified by:
warning
in interface ErrorHandler
error
public void error(TransformerException e)
- Specified by:
error
in interface ErrorListener
fatalError
public void fatalError(TransformerException e)
- Specified by:
fatalError
in interface ErrorListener
warning
public void warning(TransformerException e)
- Specified by:
warning
in interface ErrorListener
formatError
protected String formatError(String context,
SAXParseException e)
formatError
protected String formatError(String context,
TransformerException e)
hadError
public boolean hadError()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.