Package com.verisign.epp.util
Class EPPXMLErrorHandler
- java.lang.Object
-
- com.verisign.epp.util.EPPXMLErrorHandler
-
- All Implemented Interfaces:
org.xml.sax.ErrorHandler
public class EPPXMLErrorHandler extends java.lang.Object implements org.xml.sax.ErrorHandlerThis is a helper class provided to intercept Errors occurred internal to SAX / Dom Parser. When an Error / fatal Error or a warning occurs these methods are invoked.
-
-
Constructor Summary
Constructors Constructor Description EPPXMLErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(org.xml.sax.SAXParseException aException)Receive notification of a recoverable error.voidfatalError(org.xml.sax.SAXParseException aException)Receive notification of a fatal error.voidwarning(org.xml.sax.SAXParseException aException)Receive notification of a recoverable warning.
-
-
-
Method Detail
-
error
public void error(org.xml.sax.SAXParseException aException) throws org.xml.sax.SAXExceptionReceive notification of a recoverable error. This method will encode aSAXException.- Specified by:
errorin interfaceorg.xml.sax.ErrorHandler- Parameters:
aException- Error exception information- Throws:
org.xml.sax.SAXException- Exception associated with the error.
-
fatalError
public void fatalError(org.xml.sax.SAXParseException aException) throws org.xml.sax.SAXExceptionReceive notification of a fatal error. This method will encode aSAXException.- Specified by:
fatalErrorin interfaceorg.xml.sax.ErrorHandler- Parameters:
aException- Fatal error exception information- Throws:
org.xml.sax.SAXException- Exception associated with the fatal error.
-
warning
public void warning(org.xml.sax.SAXParseException aException) throws org.xml.sax.SAXExceptionReceive notification of a recoverable warning. This method will encode aSAXException.- Specified by:
warningin interfaceorg.xml.sax.ErrorHandler- Parameters:
aException- Warning exception information- Throws:
org.xml.sax.SAXException- Exception associated with the warning.
-
-