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

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

public class DraconianErrorHandler
extends Object
implements ErrorHandler

Aborts on the first error.


Constructor Summary
DraconianErrorHandler()
           
 
Method Summary
 void error(SAXParseException e)
           
 void fatalError(SAXParseException e)
           
 void warning(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(SAXParseException e)
           throws SAXException
Specified by:
error in interface ErrorHandler
Throws:
SAXException

fatalError

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

warning

public void warning(SAXParseException e)
Specified by:
warning in interface ErrorHandler


Copyright © 2012 Oracle. All Rights Reserved.