FetcherException so JAX-RS resources can let it
propagate through Optional.orElseGet-style lambdas (whose Supplier
signature cannot declare a checked exception).
GlobalExceptionMapper unwraps the cause and surfaces its message in the
HTTP response, so behaviour is equivalent to throwing the original
FetcherException straight from the resource method.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized FetcherException | getCause()
Overrides java. Returns the cause of this throwable or |
| UncheckedFetcherException | back to summary |
|---|---|
| public UncheckedFetcherException(FetcherException cause) | |
| getCause | back to summary |
|---|---|
| public synchronized FetcherException getCause() Overrides java. Doc from java. Returns the cause of this throwable or This implementation returns the cause that was supplied via one of
the constructors requiring a
| |