mascoptLib.util.exception
Class MascoptImpossibleOperationPathException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bymascoptLib.util.exception.MascoptImpossibleOperationPathException
All Implemented Interfaces:
Serializable

public class MascoptImpossibleOperationPathException
extends RuntimeException

This is the exception when an add or remove operation fails on a set. It is used in MascoptFixedSet and also for the paths (which cannot be modified by the functions add and remove).

See Also:
Serialized Form

Constructor Summary
MascoptImpossibleOperationPathException()
          The default constructor for this exception.
MascoptImpossibleOperationPathException(String message)
          The construtor with a specific message.
 
Method Summary
 String toString()
          The message that will be displayed when the error occurs.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MascoptImpossibleOperationPathException

public MascoptImpossibleOperationPathException()
The default constructor for this exception.


MascoptImpossibleOperationPathException

public MascoptImpossibleOperationPathException(String message)
The construtor with a specific message.

Parameters:
message - to use.
Method Detail

toString

public String toString()
The message that will be displayed when the error occurs.

Returns:
the message.