Class AbstractPSErrorHandler
java.lang.Object
com.helger.schematron.pure.errorhandler.AbstractPSErrorHandler
- All Implemented Interfaces:
com.helger.schematron.ISchematronErrorHandler,IPSErrorHandler
- Direct Known Subclasses:
AbstractCollectingPSErrorHandler,DoNothingPSErrorHandler,LoggingPSErrorHandler
Abstract implementation of
IPSErrorHandler.- Author:
- Philip Helger
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedAbstractPSErrorHandler(IPSErrorHandler aNestedErrorHandler) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidhandleError(com.helger.commons.error.IError aError) protected abstract voidhandleInternally(com.helger.commons.error.IError aError) The internal method to handle warnings and errors.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.schematron.pure.errorhandler.IPSErrorHandler
error
-
Constructor Details
-
AbstractPSErrorHandler
protected AbstractPSErrorHandler() -
AbstractPSErrorHandler
-
-
Method Details
-
getNestedErrorHandler
- Returns:
- The nested error handler as passed in the constructor or
nullif none was provided.
-
handleInternally
The internal method to handle warnings and errors.- Parameters:
aError- The structured error. May not benull.
-
handleError
- Specified by:
handleErrorin interfacecom.helger.schematron.ISchematronErrorHandler
-
toString
-