public class Exceptions extends Object
| Constructor and Description |
|---|
Exceptions() |
| Modifier and Type | Method and Description |
|---|---|
static RuntimeException |
bubble(Throwable t)
Prepare an unchecked
RuntimeException that will bubble upstream if thrown by an operator. |
static RuntimeException |
fromSynchronization(Throwable t)
Prepare an unchecked
RuntimeException that will bubble upstream for synchronization usage (i.e. on calling
Future.get()). |
static Throwable |
unwrap(Throwable t)
|
public static RuntimeException bubble(Throwable t)
RuntimeException that will bubble upstream if thrown by an operator.t - the root causepublic static RuntimeException fromSynchronization(Throwable t)
RuntimeException that will bubble upstream for synchronization usage (i.e. on calling
Future.get()).t - the root causeCopyright © 2025 lettuce.io. All rights reserved.