Class ScriptEvaluationException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by
                  extended by
All Implemented Interfaces:

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


public ScriptEvaluationException(String scriptName,
                                 String message)


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


public String getScriptName()

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