Keel 2.1RC2

org.keel.services.model
Class ModelException

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

public class ModelException
extends NestedException

Version:
$Revision: 1.1 $ $Date: 2003/12/29 07:01:33 $
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
ModelException()
          Default constructor
ModelException(java.lang.String s)
          Constructor with a single message, no key
ModelException(java.lang.String s, java.lang.String newErrorKey)
          String message and error key
ModelException(java.lang.String message, java.lang.Throwable newNested)
          Constructor with a message and a nested exception
ModelException(java.lang.String message, java.lang.Throwable newNested, java.lang.String newErrorKey)
          Constructor with a single message and a nested exception with error key
ModelException(java.lang.Throwable newNested)
          Constructor with no message and a nested exception
ModelException(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

ModelException

public ModelException()
Default constructor


ModelException

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

Parameters:
s - exception message

ModelException

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


ModelException

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

Parameters:
newNested - The nested item

ModelException

public ModelException(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

ModelException

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

Parameters:
newNested - The nested exception

ModelException

public ModelException(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.