title: How to check if input is an enumeration type
body: <p>I am reading input from the keyboard. The input is supposed to match one of the elements defined in an enumeration type. Here is an example of the enum type:</p>
  <pre><code>type NameType is (Bob, Jamie, Steve);
  </code></pre>
  <p>If I receive an input that is not one of these 3, Ada raises an IO exception. How do I handle this to where I can simply display a &quot;try again&quot; message and not have the program stop?</p>