Parse Long from String exception : <p>I got a very bizzared exception when trying to parse the simple String into a long value. </p>

<pre><code>public class Utils {
public static double tryParseLong(String s) {
    try {
        return Long.parseLong("45.6", 10);
    } catch (Exception e) {
        e.printStackTrace();
    } finally {
        return 0;
    }
}
</code></pre>

<p>}</p>

<p><code>java.lang.NumberFormatException: For input string: "45.6"</code></p>
