net.grinder.scriptengine
Class ScriptExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.grinder.common.GrinderException
              extended by net.grinder.engine.common.EngineException
                  extended by net.grinder.scriptengine.ScriptExecutionException
All Implemented Interfaces:
Serializable

public abstract class ScriptExecutionException
extends EngineException

Indicates a script execution problem.

Author:
Philip Aston
See Also:
Serialized Form

Constructor Summary
ScriptExecutionException(String s)
          Creates a new ScriptExecutionException instance.
ScriptExecutionException(String s, Throwable t)
          Creates a new ScriptExecutionException instance.
 
Method Summary
 String getShortMessage()
          Some subclasses abuse getMessage() to include stack trace information in printStackTrace output.
 
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

ScriptExecutionException

public ScriptExecutionException(String s)
Creates a new ScriptExecutionException instance.

Parameters:
s - Message.

ScriptExecutionException

public ScriptExecutionException(String s,
                                Throwable t)
Creates a new ScriptExecutionException instance.

Parameters:
s - Message.
t - Nested Throwable.
Method Detail

getShortMessage

public String getShortMessage()
Some subclasses abuse getMessage() to include stack trace information in printStackTrace output.

Returns:
A short message, without a stack trace.


Copyright © 2000-2013. All Rights Reserved.