Package reversi
Class OutOfBoundsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
reversi.OutOfBoundsException
- All Implemented Interfaces:
java.io.Serializable
public class OutOfBoundsException
extends java.lang.Exception
Diese Exception wird ausgelöst, wenn versucht wird, auf eine ungültige
Spielfeldposition zuzugreifen. Gültige Werte für Positionen auf dem Spielfeld
sind: 1 <= Zeile bzw. Spalte <= GameBoard.getSize().
- See Also:
GameBoard
, Serialized Form
-
Field Summary
Fields Modifier and Type Field Description Coordinates
coord
Enthält die "illegale" Koordinate -
Constructor Summary
Constructors Constructor Description OutOfBoundsException(java.lang.String msg, int row, int col)
OutOfBoundsException(java.lang.String msg, Coordinates c)
-
Method Summary
-
Field Details
-
coord
Enthält die "illegale" Koordinate
-
-
Constructor Details
-
OutOfBoundsException
-
OutOfBoundsException
public OutOfBoundsException(java.lang.String msg, int row, int col)
-