title: Java Exception Handling Invalid input
body: <p>I'm trying my hand at Java's exception handling.</p>
  
  <p>I can't understand how to do this from the docs, but what I want to do is detect invalid input for my switch to throw an error when the default case is activated. This may be incorrect logic on my part, but I wonder if any one could push me in the right direction in plain English.</p>
  
  <pre><code>char choice = '0';
  while (choice != 'q'){
       printMenu();
       System.in.read(choice);
  
       case '1': DisplayNumAlbums();
       case '2': ListAllTitles();
       case '3': DisplayAlbumDetail();
       case 'q': System.out.println("Invalid input...");
       return;
       default: System.out.println("Invalid input...");
       //Exception handling here
       //Incorrect input
   }            
  </code></pre>