public interface IPSErrorHandler
| Modifier and Type | Method and Description |
|---|---|
void |
error(IPSElement aSourceElement,
String sMessage)
Emit an error.
|
void |
error(com.helger.commons.io.resource.IReadableResource aRes,
IPSElement aSourceElement,
String sMessage,
Throwable t)
Emit an error
|
void |
warn(com.helger.commons.io.resource.IReadableResource aRes,
IPSElement aSourceElement,
String sMessage)
Emit a warning
|
void warn(@Nullable com.helger.commons.io.resource.IReadableResource aRes, @Nullable IPSElement aSourceElement, @Nonnull String sMessage)
aRes - The resource in which the error occurred. May be null.aSourceElement - The source element where the warning is encountered. Maybe
null for XPath errors.sMessage - The main warning message. Never null.void error(@Nullable IPSElement aSourceElement, @Nonnull String sMessage)
error(IReadableResource, IPSElement, String, Throwable) with
null IReadableResource and null
Throwable.aSourceElement - The source element where the warning is encountered. Maybe
null for XPath errors.sMessage - The main warning message. Never null.void error(@Nullable com.helger.commons.io.resource.IReadableResource aRes, @Nullable IPSElement aSourceElement, @Nonnull String sMessage, @Nullable Throwable t)
aRes - The resource in which the error occurred. May be null.aSourceElement - The source element where the warning is encountered. Maybe
null for XPath errors.sMessage - The main warning message. Never null.t - An optional exception that is the source of the error. May be
null.Copyright © 2014–2016 Philip Helger. All rights reserved.