jfreerails.move
Class TrainCrashException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by jfreerails.move.TrainCrashException
All Implemented Interfaces:
java.io.Serializable

public class TrainCrashException
extends java.lang.Exception

Author:
mduarte-leon
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
private  int trainA
           
private  int trainB
           
 
Constructor Summary
TrainCrashException()
           
TrainCrashException(int aTrain, int bTrain)
           
 
Method Summary
 int getTrainA()
           
 int getTrainB()
           
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

trainA

private int trainA

trainB

private int trainB
Constructor Detail

TrainCrashException

public TrainCrashException()

TrainCrashException

public TrainCrashException(int aTrain,
                           int bTrain)
Method Detail

getTrainA

public int getTrainA()

getTrainB

public int getTrainB()