private static class Values.ExceptionValue<T,E extends java.lang.Throwable> extends java.lang.Object implements UnsafeValue<T,E>
| Constructor and Description |
|---|
ExceptionValue(E throwable) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
T |
get()
Get the stored value.
|
int |
hashCode() |
java.lang.String |
toString() |
private final E extends java.lang.Throwable throwable
public ExceptionValue(E throwable)
public T get() throws E extends java.lang.Throwable
UnsafeValueget in interface UnsafeValue<T,E extends java.lang.Throwable>E - in case there was an error while computing the value.E extends java.lang.Throwablepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object