lime
Class NoSuchReactionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bylime.LimeException
              extended bylime.NoSuchReactionException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchReactionException
extends LimeException

Raised when an agent attempts to deregister a reaction that has never been registered.

Version:
1.0 alpha
Author:
Amy L. Murphy, Gian Pietro Picco
See Also:
Serialized Form

Field Summary
 
Fields inherited from class lime.LimeException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
NoSuchReactionException()
          Creates a new exception with no internal, lower-level exception.
NoSuchReactionException(java.lang.Exception e)
          Creates an exception that wraps an internal exception.
NoSuchReactionException(java.lang.Exception e, java.lang.String s)
          Creates an exception that wraps an internal exception.
NoSuchReactionException(java.lang.String s)
          Creates a new exception with no internal, lower-level exception.
 
Methods inherited from class lime.LimeException
getInternal, hasInternal, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchReactionException

public NoSuchReactionException()
Creates a new exception with no internal, lower-level exception.


NoSuchReactionException

public NoSuchReactionException(java.lang.String s)
Creates a new exception with no internal, lower-level exception.

Parameters:
s - an explanatory message for the exception.

NoSuchReactionException

public NoSuchReactionException(java.lang.Exception e)
Creates an exception that wraps an internal exception.


NoSuchReactionException

public NoSuchReactionException(java.lang.Exception e,
                               java.lang.String s)
Creates an exception that wraps an internal exception.

Parameters:
s - an explanatory message for the exception.