public class DoNothingPSErrorHandler extends AbstractPSErrorHandler
IPSErrorHandler that does nothing and swallows
all output.| Constructor and Description |
|---|
DoNothingPSErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
static DoNothingPSErrorHandler |
getInstance() |
protected void |
handle(com.helger.commons.io.IReadableResource aRes,
com.helger.commons.error.EErrorLevel eErrorLevel,
IPSElement aSourceElement,
String sMessage,
Throwable t)
The abstract method that is called for both warnings and errors.
|
error, error, getNestedErrorHandler, toString, warn@Nonnull public static DoNothingPSErrorHandler getInstance()
null.protected void handle(@Nullable com.helger.commons.io.IReadableResource aRes, @Nonnull com.helger.commons.error.EErrorLevel eErrorLevel, @Nonnull IPSElement aSourceElement, @Nonnull String sMessage, @Nullable Throwable t)
AbstractPSErrorHandlerhandle in class AbstractPSErrorHandleraRes - The resource in which the error occurred.eErrorLevel - 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–2015 Philip Helger. All rights reserved.