com.swath
Class ScriptException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.swath.SwathException
              extended bycom.swath.ScriptException
All Implemented Interfaces:
java.io.Serializable

public class ScriptException
extends com.swath.SwathException

Script exception.
Thrown when the current script execution fails for some reason.
You can throw this exception from your own script.

Since:
SWATH 1.6.2
See Also:
Serialized Form

Constructor Summary
ScriptException(java.lang.String error)
          Constructor.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScriptException

public ScriptException(java.lang.String error)
Constructor.

Parameters:
error - The error text.
Since:
SWATH 1.6.2