lime
Class IllegalSharingException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bylime.LimeRuntimeException
                  extended bylime.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

Field Summary
 
Fields inherited from class lime.LimeRuntimeException
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
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, 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

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.


IllegalSharingException

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

Parameters:
s - an explanatory message for the exception.