org.apache.sling.api.scripting
Class ScriptEvaluationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.sling.api.SlingException
org.apache.sling.api.scripting.ScriptEvaluationException
- All Implemented Interfaces:
- Serializable
public class ScriptEvaluationException
- extends SlingException
The ScriptEvaluationException
is thrown by the
SlingScript.eval(SlingBindings)
method if an error occurrs evaluating
the script.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ScriptEvaluationException
public ScriptEvaluationException(String scriptName,
String message)
ScriptEvaluationException
public ScriptEvaluationException(String scriptName,
String message,
Throwable cause)
getScriptName
public String getScriptName()
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.