public class Exceptions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Exceptions.JsonInternalException |
Constructor and Description |
---|
Exceptions() |
Modifier and Type | Method and Description |
---|---|
static boolean |
die() |
static <T> T |
die(java.lang.Class<T> clazz,
java.lang.String message) |
static boolean |
die(java.lang.String message) |
static <T> T |
handle(java.lang.Class<T> clazz,
java.lang.Exception e) |
static <T> T |
handle(java.lang.Class<T> clazz,
java.lang.String message,
java.lang.Throwable e) |
static void |
handle(java.lang.Exception e) |
static void |
handle(java.lang.String message,
java.lang.Throwable e) |
static java.lang.String |
sputs(CharBuf buf,
java.lang.Object... messages) |
static java.lang.String |
sputs(java.lang.Object... messages) |
static java.lang.String |
toString(java.lang.Exception ex) |
public static boolean die()
public static boolean die(java.lang.String message)
public static <T> T die(java.lang.Class<T> clazz, java.lang.String message)
public static void handle(java.lang.Exception e)
public static <T> T handle(java.lang.Class<T> clazz, java.lang.Exception e)
public static <T> T handle(java.lang.Class<T> clazz, java.lang.String message, java.lang.Throwable e)
public static void handle(java.lang.String message, java.lang.Throwable e)
public static java.lang.String toString(java.lang.Exception ex)
public static java.lang.String sputs(CharBuf buf, java.lang.Object... messages)
public static java.lang.String sputs(java.lang.Object... messages)