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:
java.io.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(java.lang.String scriptName, java.lang.String message)
           
ScriptEvaluationException(java.lang.String scriptName, java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 java.lang.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(java.lang.String scriptName,
                                 java.lang.String message)

ScriptEvaluationException

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

getScriptName

public java.lang.String getScriptName()


Copyright © 2007-2009. All Rights Reserved.