com.sun.xml.bind.v2.util
Class FatalAdapter

java.lang.Object
  extended by com.sun.xml.bind.v2.util.FatalAdapter
All Implemented Interfaces:
ErrorHandler

public class FatalAdapter
extends Object
implements ErrorHandler

Maps an error to a fatal error.


Constructor Summary
FatalAdapter(ErrorHandler handler)
           
 
Method Summary
 void error(SAXParseException exception)
           
 void fatalError(SAXParseException exception)
           
 void warning(SAXParseException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FatalAdapter

public FatalAdapter(ErrorHandler handler)
Method Detail

warning

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

error

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

fatalError

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