TSim
Class CommandException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--TSim.CommandException

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.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, 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.