@ThreadSafe public class CollectingTransformErrorListener extends AbstractTransformErrorListener
ErrorListener saves all
occurred warnings/errors/fatals in a list for later evaluation.| Modifier and Type | Field and Description |
|---|---|
protected com.helger.commons.concurrent.SimpleReadWriteLock |
m_aRWLock |
| Constructor and Description |
|---|
CollectingTransformErrorListener() |
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.state.EChange |
clearResourceErrors()
Clear all currently stored errors.
|
com.helger.commons.error.list.ErrorList |
getErrorList() |
protected void |
internalLog(com.helger.commons.error.IError aResError)
Handle the passed resource error.
|
String |
toString() |
error, fatalError, warningclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitandThenprotected void internalLog(@Nonnull com.helger.commons.error.IError aResError)
AbstractTransformErrorListenerinternalLog in class AbstractTransformErrorListeneraResError - The resource error to be handled. Never null.@Nonnull @ReturnsMutableCopy public com.helger.commons.error.list.ErrorList getErrorList()
@Nonnull public com.helger.commons.state.EChange clearResourceErrors()
EChange.CHANGED if at least one item was cleared.public String toString()
toString in class AbstractTransformErrorListenerCopyright © 2014–2020 Philip Helger. All rights reserved.