title: Definition of checked Java exception?
body: <p>I see that one definition can be this:</p>
  
  <blockquote>
    <p>Generally RuntimeExceptions are exceptions that can be prevented
    programmatically.</p>
  </blockquote>
  
  <p>But that is still not the definition of a checked exception. I thought checked exceptions were "exceptions that can be handled at compile-time". Is that correct and/or can you tell me more?</p>
  
  <p>I also read this on the site, can you explain the quote?</p>
  
  <blockquote>
    <p>Many people say that checked exceptions (i.e. these that you should
    explicitly catch or rethrow) should not be used at all.</p>
  </blockquote>
  
  <p><a href="https://stackoverflow.com/questions/6115896/java-checked-vs-unchecked-exception-explanation">Java: checked vs unchecked exception explanation</a></p>
  
  <p>Can I just learn what the definition is? I also read somewhat unexpectedly:</p>
  
  <blockquote>
    <p>NumberFormatException is unchecked`</p>
  </blockquote>
  
  <p>But I would think that <code>NumberFormatException</code> is checked since I would handle that at compile-time. Can you please help me understand? I've done some Java programming but I never wrote my own exception class, why would I need that?
  <img src="https://i.stack.imgur.com/p9xqv.jpg" alt="enter image description here"></p>
  
  <h2>Update</h2>
  
  <p>A definition is given is the SCJP book by Sierra / Bates:</p>
  
  <p><img src="https://i.stack.imgur.com/FkKXs.png" alt="enter image description here"></p>