Fallback.From<T>, Fallback.None<X>
Constructor and Description |
---|
None() |
Modifier and Type | Method and Description |
---|---|
X |
apply(Throwable input)
Apply it.
|
int |
support(Throwable exception)
Calculate level of support of the given exception type.
|
public int support(Throwable exception)
Fallback
support
in interface Fallback<X>
exception
- ExceptionInteger.MIN_VALUE
otherwiseCopyright © 2017–2022 Cactoos. All rights reserved.