TSim
Class CommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by TSim.CommandException
All Implemented Interfaces:
java.io.Serializable

public class CommandException
extends java.lang.Exception

Thrown when a command to TSim fails. This might happen if the train affected by the command has collided or derailed or if the data to the command was erroneous.

See Also:
Serialized Form

Constructor Summary
CommandException(java.lang.String s)
          Constructs an CommandException with the specified detailed error message.
 
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

CommandException

public CommandException(java.lang.String s)
Constructs an CommandException with the specified detailed error message.

Parameters:
s - the detail message.