title: Error class in Java
body: <p>I am trying to understand the <code>Error</code> class in Java.</p>
  
  <p>I have a good understanding of the <code>Exception</code> class, but can't find examples of code for the <code>Error</code> class. I've tried searching the web and also the java.sun website, but I'm not finding anything useful to help me understand this better. </p>
  
  <p>How do I use the <code>Error</code> class in programs and where do we have to use that?</p>