Package org.apache.groovy.json.internal
Class Exceptions
java.lang.Object
org.apache.groovy.json.internal.Exceptions
public class Exceptions extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Exceptions.JsonInternalException
-
Constructor Summary
Constructors Constructor Description Exceptions()
-
Method Summary
Modifier and Type Method Description static boolean
die()
static <T> T
die(Class<T> clazz, String message)
static boolean
die(String message)
static <T> T
handle(Class<T> clazz, Exception e)
static <T> T
handle(Class<T> clazz, String message, Throwable e)
static void
handle(Exception e)
static void
handle(String message, Throwable e)
static String
sputs(Object... messages)
static String
sputs(CharBuf buf, Object... messages)
static String
toString(Exception ex)
-
Constructor Details
-
Exceptions
public Exceptions()
-
-
Method Details
-
die
public static boolean die() -
die
-
die
-
handle
-
handle
-
handle
-
handle
-
toString
-
sputs
-
sputs
-