lime
Class IllegalSharingException

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

public class IllegalSharingException
extends LimeRuntimeException

Raised when an agent tries to set its own Lime System tuple space object to private.

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

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

IllegalSharingException

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

IllegalSharingException

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

IllegalSharingException

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

IllegalSharingException

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