Package com.verisign.epp.util
Class EPPXMLErrorHandler
java.lang.Object
com.verisign.epp.util.EPPXMLErrorHandler
- All Implemented Interfaces:
ErrorHandler
This 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 -
Method Summary
Modifier and TypeMethodDescriptionvoiderror(SAXParseException aException) Receive notification of a recoverable error.voidfatalError(SAXParseException aException) Receive notification of a fatal error.voidwarning(SAXParseException aException) Receive notification of a recoverable warning.
-
Constructor Details
-
EPPXMLErrorHandler
public EPPXMLErrorHandler()
-
-
Method Details
-
error
Receive notification of a recoverable error. This method will encode aSAXException.- Specified by:
errorin interfaceErrorHandler- Parameters:
aException- Error exception information- Throws:
SAXException- Exception associated with the error.
-
fatalError
Receive notification of a fatal error. This method will encode aSAXException.- Specified by:
fatalErrorin interfaceErrorHandler- Parameters:
aException- Fatal error exception information- Throws:
SAXException- Exception associated with the fatal error.
-
warning
Receive notification of a recoverable warning. This method will encode aSAXException.- Specified by:
warningin interfaceErrorHandler- Parameters:
aException- Warning exception information- Throws:
SAXException- Exception associated with the warning.
-