Package tetris.model

Class CollisionException

All Implemented Interfaces:
Serializable

public class CollisionException extends Exception
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 Details

    • CollisionException

      public CollisionException(String message)
      Constructs a collision exception.
      Parameters:
      message - the error message