|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.linkedin.glu.agent.api.AgentException
org.linkedin.glu.agent.api.ScriptException
org.linkedin.glu.agent.api.ScriptExecutionCauseException
class ScriptExecutionCauseException extends ScriptException
The purpose of this class is to make sure that the exception is always serializable which
unfortunately is not always the case. For example, uncovered with glu-27, groovy throws a
MissingPropertyException
where one of the field is a Class
object.
Although the Class
object itself is serializable, it is not deserializable
without the proper ClassLoader
!
Property Summary | |
---|---|
java.lang.String |
originalClassname
|
Constructor Summary | |
ScriptExecutionCauseException(java.lang.String message)
|
|
ScriptExecutionCauseException(java.lang.Throwable throwable)
|
Method Summary | |
---|---|
static ScriptExecutionCauseException
|
create(java.lang.Throwable throwable)
|
java.lang.Throwable
|
initCause(java.lang.Throwable throwable)
|
Methods inherited from class java.lang.Exception | |
---|---|
java.lang.Exception#printStackTrace(java.io.PrintStream), java.lang.Exception#printStackTrace(), java.lang.Exception#printStackTrace(java.io.PrintWriter), java.lang.Exception#fillInStackTrace(), java.lang.Exception#getCause(), java.lang.Exception#initCause(java.lang.Throwable), java.lang.Exception#toString(), java.lang.Exception#getMessage(), java.lang.Exception#getLocalizedMessage(), java.lang.Exception#getStackTrace(), java.lang.Exception#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.Exception#wait(), java.lang.Exception#wait(long), java.lang.Exception#wait(long, int), java.lang.Exception#equals(java.lang.Object), java.lang.Exception#hashCode(), java.lang.Exception#getClass(), java.lang.Exception#notify(), java.lang.Exception#notifyAll() |
Property Detail |
---|
java.lang.String originalClassname
Constructor Detail |
---|
ScriptExecutionCauseException(java.lang.String message)
ScriptExecutionCauseException(java.lang.Throwable throwable)
Method Detail |
---|
static ScriptExecutionCauseException create(java.lang.Throwable throwable)
@Override java.lang.Throwable initCause(java.lang.Throwable throwable)
Groovy Documentation