lime
Class NoSuchReactionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--lime.LimeException
                    |
                    +--lime.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

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, getLocalizedMessage, getMessage
 
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.
Parameters:
internal - the internal exception.

NoSuchReactionException

public NoSuchReactionException(java.lang.Exception e,
                               java.lang.String s)
Creates an exception that wraps an internal exception.
Parameters:
internal - the internal exception.
s - an explanatory message for the exception.