title: How to throw ArrayIndexOutOfBoundsException?
body: <p>I have a method that checks spots in a 2D array, and it also checks if they are null. I want to throw the <code>ArrayIndexOutOfBoundsException</code> because I already check for null. </p>
  
  <p>I tried adding <code>throws ArrayIndexOutOfBoundsException</code> after declaring the method, but it doesn't work. How do I do this? </p>