public final class Throwables extends Object
This class is an internal implementation detail only intended for use within spectator. It is subject to change without notice.
| Modifier and Type | Method and Description |
|---|---|
static void |
propagate(String msg,
Throwable t)
Log a warning and if enabled propagate the exception
t. |
static void |
propagate(Throwable t)
Log a warning using the message from the exception and if enabled propagate the
exception
t. |
public static void propagate(Throwable t)
t.t - Exception to log and optionally propagate.public static void propagate(String msg, Throwable t)
t. The propagation is controlled
by the system property spectator.api.propagateWarnings.msg - Message written out to the log.t - Exception to log and optionally propagate.