[Java] Class Exceptions
- org.apache.groovy.json.internal.Exceptions
public class Exceptions
Nested Class Summary
Modifiers | Name | Description |
---|---|---|
static class | Exceptions.JsonInternalException |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
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) |
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/3.0.7/html/gapi/org/apache/groovy/json/internal/Exceptions.html