com.newisys.eventsim
Class IllegalThreadException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.newisys.eventsim.IllegalThreadException
All Implemented Interfaces:
Serializable

public class IllegalThreadException
extends RuntimeException

Exception thrown by the simulation manager when a method is called from the wrong thread. For example, calling SimulationManager.waitFor() from a thread not registered with the simulation manager (i.e. a thread created directly by calling new Thread()) results in this exception being thrown.

See Also:
Serialized Form

Constructor Summary
IllegalThreadException()
           
IllegalThreadException(String message)
           
IllegalThreadException(String message, Throwable cause)
           
IllegalThreadException(Throwable cause)
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalThreadException

public IllegalThreadException()

IllegalThreadException

public IllegalThreadException(String message)

IllegalThreadException

public IllegalThreadException(Throwable cause)

IllegalThreadException

public IllegalThreadException(String message,
                              Throwable cause)