reversi
Class OutOfBoundsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
reversi.OutOfBoundsException
- All Implemented Interfaces:
- Serializable
public class OutOfBoundsException
- extends 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
,
TextGameBoard
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
coord
public Coordinates coord
- Enthält die "illegale" Koordinate
OutOfBoundsException
public OutOfBoundsException(String msg,
Coordinates c)
OutOfBoundsException
public OutOfBoundsException(String msg,
int row,
int col)