Catch an ArrayOutOfBounds exception