Package rushhour.model
Class GameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
rushhour.model.GameException
- All Implemented Interfaces:
Serializable
public class GameException extends RuntimeException
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description GameException(Move.Direction dir, PlacedCar car)
-
Method Summary
Modifier and Type Method Description Move.Direction
getDir()
PlacedCar
getPlacedCar()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString