lime
Class IncompatibleLocationsException

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

public class IncompatibleLocationsException
extends LimeRuntimeException

Raised whenever the current and/or destination locations specified in a location-dependent operation are incompatible with the semantics of the operation itself.

Version:
1.0 alpha
Author:
Gian Pietro Picco
See Also:
Serialized Form

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

IncompatibleLocationsException

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

IncompatibleLocationsException

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

IncompatibleLocationsException

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

IncompatibleLocationsException

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