jsim.process
Class EntityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by jsim.process.EntityException
All Implemented Interfaces:
java.io.Serializable

public class EntityException
extends java.lang.RuntimeException

The EntityException class allows exceptions to be created and thrown in order to stop the execution of entities (SimObjects). An entities thread is stopped by advancing its control to the end of its run method via a try-catch block.

See Also:
Serialized Form

Constructor Summary
EntityException()
          Construct an exception to stop simulation entities.
 
Method Summary
 
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

EntityException

public EntityException()
Construct an exception to stop simulation entities.