Keel 2.1RC2

org.keel.services.script
Class ScriptException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.keel.core.exception.NestedException
              extended byorg.keel.services.script.ScriptException
All Implemented Interfaces:
java.io.Serializable

public class ScriptException
extends NestedException

The exception returned by various method of the Script service

Version:
$Revision: 1.2 $ $Date: 2003/07/03 15:49:32 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.keel.core.exception.NestedException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ScriptException()
          Default constructor
ScriptException(java.lang.String s)
          Constructor with a single message, no key
ScriptException(java.lang.String s, java.lang.String newErrorKey)
          String message and error key
ScriptException(java.lang.String message, java.lang.Throwable newNested)
          Constructor with a message and a nested exception
ScriptException(java.lang.String message, java.lang.Throwable newNested, java.lang.String newErrorKey)
          Constructor with a single message and a nested exception with error key
ScriptException(java.lang.Throwable newNested)
          Constructor with no message and a nested exception
ScriptException(java.lang.Throwable newNested, java.lang.String newErrorKey)
          Constructor with no message and a nested exception, but with an error key
 
Methods inherited from class org.keel.core.exception.NestedException
addToMessage, addToStack, getErrorKey, getMessage, getNestedExceptionType, getStackTraceAsString, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScriptException

public ScriptException()
Default constructor


ScriptException

public ScriptException(java.lang.String s)
Constructor with a single message, no key

Parameters:
s - exception message

ScriptException

public ScriptException(java.lang.String s,
                       java.lang.String newErrorKey)
String message and error key


ScriptException

public ScriptException(java.lang.String message,
                       java.lang.Throwable newNested)
Constructor with a message and a nested exception

Parameters:
newNested - The nested item

ScriptException

public ScriptException(java.lang.String message,
                       java.lang.Throwable newNested,
                       java.lang.String newErrorKey)
Constructor with a single message and a nested exception with error key

Parameters:
newNested - The nested item

ScriptException

public ScriptException(java.lang.Throwable newNested)
Constructor with no message and a nested exception

Parameters:
newNested - The nested exception

ScriptException

public ScriptException(java.lang.Throwable newNested,
                       java.lang.String newErrorKey)
Constructor with no message and a nested exception, but with an error key

Parameters:
newNested - The nested exception

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.