EXTYPE
- The exception type to be handled@NotThreadSafe public class CollectingExceptionCallback<EXTYPE extends Throwable> extends Object implements IExceptionCallback<EXTYPE>
IExceptionCallback
interface, that
stores the last exception.Constructor and Description |
---|
CollectingExceptionCallback() |
Modifier and Type | Method and Description |
---|---|
EXTYPE |
getException() |
boolean |
hasException() |
void |
onException(EXTYPE aEx)
Called when an exception of the specified type occurred.
|
String |
toString() |
public void onException(@Nullable EXTYPE aEx)
IExceptionCallback
onException
in interface IExceptionCallback<EXTYPE extends Throwable>
aEx
- The exception. Never null
.public boolean hasException()
Copyright © 2014–2019 Philip Helger. All rights reserved.