title: Java: Is there an exception for when a user enters a number out of range
body: <p>Outside of the context of an Array index, is there any exception in Java that can be thrown when the user enters a number outside the range asked for by a program? </p>
  
  <p>ie. The program wants an integer between 0-100 and user enters 132, could an exception be thrown manually or does it have to be custom?</p>
  
  <p>EDIT: I get that it doesn't make sense to use an exception for this, it's for an assignment and I want to know my options. Easy on the hair trigger down voters.</p>