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
UnsafeValue
get
in interface UnsafeValue<T,E extends java.lang.Throwable>
E
- in case there was an error while computing the value.E extends java.lang.Throwable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object