lime
Class IllegalTupleSpaceModificationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--lime.LimeRuntimeException
                          |
                          +--lime.IllegalTupleSpaceModificationException
All Implemented Interfaces:
java.io.Serializable

public class IllegalTupleSpaceModificationException
extends LimeRuntimeException

Raised when an agent tries to modify the contents of a read-only tuple spaces, with a out, in, or inp operation.
Note: Currently, only the Lime System tuple space is read-only.

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

Constructor Summary
IllegalTupleSpaceModificationException()
          Creates a new exception with no internal, lower-level exception.
IllegalTupleSpaceModificationException(java.lang.Exception e)
          Creates an exception that wraps an internal exception.
IllegalTupleSpaceModificationException(java.lang.Exception e, java.lang.String s)
          Creates an exception that wraps an internal exception.
IllegalTupleSpaceModificationException(java.lang.String s)
          Creates a new exception with no internal, lower-level exception.
 
Methods inherited from class lime.LimeRuntimeException
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

IllegalTupleSpaceModificationException

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

IllegalTupleSpaceModificationException

public IllegalTupleSpaceModificationException(java.lang.String s)
Creates a new exception with no internal, lower-level exception.
Parameters:
s - an explanatory message for the exception.

IllegalTupleSpaceModificationException

public IllegalTupleSpaceModificationException(java.lang.Exception e)
Creates an exception that wraps an internal exception.
Parameters:
internal - the internal exception.

IllegalTupleSpaceModificationException

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