org.apache.sling.api.scripting
Class ScriptEvaluationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.sling.api.SlingException
                  extended by 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

Constructor Summary
ScriptEvaluationException(String scriptName, String message)
           
ScriptEvaluationException(String scriptName, String message, Throwable cause)
           
 
Method Summary
 String getScriptName()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScriptEvaluationException

public ScriptEvaluationException(String scriptName,
                                 String message)

ScriptEvaluationException

public ScriptEvaluationException(String scriptName,
                                 String message,
                                 Throwable cause)
Method Detail

getScriptName

public String getScriptName()


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.