|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.linkedin.glu.groovy.utils.rest.GluGroovyRestUtils
class GluGroovyRestUtils
Field Summary | |
---|---|
static java.lang.String |
MODULE
|
static Logger |
log
|
Method Summary | |
---|---|
static RestException
|
fromJSON(java.lang.Object jsonRepresentation)
From a json representation (as built by {@link #toJSON(Throwable)) builds a rest exception |
static java.lang.Throwable
|
rebuildException(RestException restException)
This method will try to rebuild the full stack trace based on the rest exception recursively. |
static java.lang.Object
|
toJSON(java.lang.Throwable th)
'Serializes' the throwable into a json representation in order to be able to rebuild it later. |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
public static final java.lang.String MODULE
public static final Logger log
Method Detail |
---|
static RestException fromJSON(java.lang.Object jsonRepresentation)
static java.lang.Throwable rebuildException(RestException restException)
static java.lang.Object toJSON(java.lang.Throwable th)
Groovy Documentation