reversi
Class OutOfBoundsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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
 Coordinates coord
          Enthält die "illegale" Koordinate
 
Constructor Summary
OutOfBoundsException(java.lang.String msg, Coordinates c)
           
OutOfBoundsException(java.lang.String msg, int row, int col)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

coord

public Coordinates coord
Enthält die "illegale" Koordinate

Constructor Detail

OutOfBoundsException

public OutOfBoundsException(java.lang.String msg,
                            Coordinates c)

OutOfBoundsException

public OutOfBoundsException(java.lang.String msg,
                            int row,
                            int col)