public void resetCatches() { if (g == null && h == null) { return; } else if (h != null) { h.resetCaught(); } else if (g != null) { g.resetCaught(); } }