How does JRE know the line number of code where exception occured?
<p>Consider the following Exception print</p>

<pre><code>java.util.NoSuchElementException
    at java.util.StringTokenizer.nextToken(StringTokenizer.java:332)
    at com.infoaxe.mr.homefeed.ReduceTwo.reduce(MapReduce.java:290)
</code></pre>

<p>Since Java is a compiled language and what runs in JVM is the bytecode and not the source code itself how does the exception know on which line it occurred ? Example line 332 in above case ? </p>
