- java.lang.Object
-
- org.glassfish.jaxb.runtime.v2.util.FatalAdapter
-
- All Implemented Interfaces:
ErrorHandler
public class FatalAdapter extends Object implements ErrorHandler
Maps an error to a fatal error.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description FatalAdapter(ErrorHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(SAXParseException exception)voidfatalError(SAXParseException exception)voidwarning(SAXParseException exception)
-
-
-
Constructor Detail
-
FatalAdapter
public FatalAdapter(ErrorHandler handler)
-
-
Method Detail
-
warning
public void warning(SAXParseException exception) throws SAXException
- Specified by:
warningin interfaceErrorHandler- Throws:
SAXException
-
error
public void error(SAXParseException exception) throws SAXException
- Specified by:
errorin interfaceErrorHandler- Throws:
SAXException
-
fatalError
public void fatalError(SAXParseException exception) throws SAXException
- Specified by:
fatalErrorin interfaceErrorHandler- Throws:
SAXException
-
-