title: How I can know which class exception extended from?
body: <p>JVM only prints path in which exception class are. But how I can know class hierarchy in which <code>java.lang.NumberFormatException</code> is defined? For example Object-&gt;Throwable-&gt;Exception-RuntimeException-&gt;NumberFormatException.</p>
  <pre><code>public class Test
  {
      public static void main(String[] args) throws Exception
      {
          Integer.parseInt(&quot;random text&quot;); // // java.lang.NumberFormatException will occur
      }
  }
  </code></pre>