public class DoNothingPSErrorHandler extends AbstractPSErrorHandler
IPSErrorHandler
that does nothing and swallows
all output.Constructor and Description |
---|
DoNothingPSErrorHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
handle(com.helger.commons.io.resource.IReadableResource aRes,
com.helger.commons.error.level.IErrorLevel aErrorLevel,
IPSElement aSourceElement,
String sMessage,
Throwable t)
The abstract method that is called for both warnings and errors.
|
error, getNestedErrorHandler, toString, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
error
protected void handle(@Nullable com.helger.commons.io.resource.IReadableResource aRes, @Nonnull com.helger.commons.error.level.IErrorLevel aErrorLevel, @Nullable IPSElement aSourceElement, @Nonnull String sMessage, @Nullable Throwable t)
AbstractPSErrorHandler
handle
in class AbstractPSErrorHandler
aRes
- The resource in which the error occurred.aErrorLevel
- The error level. Never null
.aSourceElement
- The source schematron element, in which the error occurred. Maybe
null
for XPath errors.sMessage
- The error message. Never null
.t
- The optional exception that might have occurred. May be
null
.Copyright © 2014–2019 Philip Helger. All rights reserved.