jasi.sim.basic.id
Class IdException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalStateException
                  extended by jasi.sim.basic.id.IdException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ElementNotFoundException, IdAlreadyExistsException, IdAlreadySetException

public abstract class IdException
extends java.lang.IllegalStateException

Exception whenever something went wrong during access of a simulation element.

See Also:
Serialized Form

Constructor Summary
IdException(Id id, java.lang.String msg)
          Constructor for ElementException.
 
Method Summary
 Id getId()
          Get the ID.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdException

public IdException(Id id,
                   java.lang.String msg)
Constructor for ElementException.

Parameters:
id - The ID that caused the exception.
msg - The detail message.
Method Detail

getId

public Id getId()
Get the ID.

Returns:
The ID.