[Java] Class Exceptions
- org.apache.groovy.json.internal.Exceptions
Nested Class Summary
Modifiers | Name | Description |
---|---|---|
static class | Exceptions.JsonInternalException |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
static boolean |
die() | |
static boolean |
die(String message) | |
<T> | static T |
die(Class<T> clazz, String message) |
static void |
handle(Exception e) | |
<T> | static T |
handle(Class<T> clazz, Exception e) |
<T> | static T |
handle(Class<T> clazz, String message, Throwable e) |
static void |
handle(String message, Throwable e) | |
static String |
sputs(CharBuf buf, Object... messages) | |
static String |
sputs(Object... messages) | |
static String |
toString(Exception ex) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail
public static boolean die()
public static boolean die(String message)
<T> public static T die(Class<T> clazz, String message)
public static void handle(Exception e)
<T> public static T handle(Class<T> clazz, Exception e)
<T> public static T handle(Class<T> clazz, String message, Throwable e)
public static void handle(String message, Throwable e)
public static String sputs(CharBuf buf, Object... messages)
public static String sputs(Object... messages)
public static String toString(Exception ex)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/apache/groovy/json/internal/Exceptions.html