Package tetris.model
Class CollisionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
tetris.model.CollisionException
- All Implemented Interfaces:
Serializable
The exception CollisionException is thrown if a figure collides with the border of the playing field.
- Version:
- 2.1
- Author:
- Stephan Fischli
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CollisionException
Constructs a collision exception.- Parameters:
message
- the error message
-