print board when exception is thrown