public abstract class ThrowableFunction<F,T>
extends java.lang.Object
implements com.google.common.base.Function<F,T>
| Constructor and Description |
|---|
ThrowableFunction() |
| Modifier and Type | Method and Description |
|---|---|
T |
apply(F input) |
protected abstract T |
applyThrowable(F input) |
java.util.List<java.lang.Exception> |
getErrors() |
java.lang.Exception |
getFirstError() |
boolean |
hasErrors() |
<X extends java.lang.Throwable> |
propagateIfPossible(java.lang.Class<X> declaredType) |
public java.util.List<java.lang.Exception> getErrors()
public java.lang.Exception getFirstError()
public boolean hasErrors()
public <X extends java.lang.Throwable> void propagateIfPossible(java.lang.Class<X> declaredType)
throws X extends java.lang.Throwable
X extends java.lang.ThrowableCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.