java.lang.IllegalArgumentException: invalid row index: 3

Coderanch | Henry Wong | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    TicTacToe game help

    Coderanch | 7 years ago | mike fusc
    java.lang.IllegalArgumentException: invalid row index: 3
  2. 0

    TicTacToe game help

    Coderanch | 7 years ago | Henry Wong
    java.lang.IllegalArgumentException: invalid row index: 3

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      invalid row index: 3

      at TicTacToeBoard.getSquare()
    2. Unknown
      TicTacToe.main
      1. TicTacToeBoard.getSquare(TicTacToeBoard.java:25)
      2. TicTacToe.diagonalComplete(TicTacToe.java:58)
      3. TicTacToe.gameWon(TicTacToe.java:84)
      4. TicTacToe.main(TicTacToe.java:116)
      4 frames