public interface IPSErrorHandler
| Modifier and Type | Method and Description |
|---|---|
void |
error(com.phloc.commons.io.IReadableResource aRes,
IPSElement aSourceElement,
String sMessage,
Throwable t)
Emit an error
|
void |
warn(com.phloc.commons.io.IReadableResource aRes,
IPSElement aSourceElement,
String sMessage)
Emit a warning
|
void warn(@Nullable com.phloc.commons.io.IReadableResource aRes, @Nonnull 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. Never
null.sMessage - The main warning message. Never null.void error(@Nullable com.phloc.commons.io.IReadableResource aRes, @Nonnull 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. Never
null.sMessage - The main warning message. Never null.t - An optional exception that is the source of the error. May be
null.Copyright © 2006–2014 phloc systems. All rights reserved.