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

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait