com.sun.xml.xsom.impl.util
Class DraconianErrorHandler

java.lang.Object
  extended by com.sun.xml.xsom.impl.util.DraconianErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler

public class DraconianErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler

Aborts on the first error.


Constructor Summary
DraconianErrorHandler()
           
 
Method Summary
 void error(org.xml.sax.SAXParseException e)
           
 void fatalError(org.xml.sax.SAXParseException e)
           
 void warning(org.xml.sax.SAXParseException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DraconianErrorHandler

public DraconianErrorHandler()
Method Detail

error

public void error(org.xml.sax.SAXParseException e)
           throws org.xml.sax.SAXException
Specified by:
error in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXException

fatalError

public void fatalError(org.xml.sax.SAXParseException e)
                throws org.xml.sax.SAXException
Specified by:
fatalError in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXException

warning

public void warning(org.xml.sax.SAXParseException e)
Specified by:
warning in interface org.xml.sax.ErrorHandler


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.