I figured it out. In MyPlayer, whenever you want to call makeMove(), do this:
try { makeMove(); } catch (Exception e) {}
So, the exception gets caught, without specifying what kind of exception it is. Note that I didn't do anything after catching, but that's up to you. |