hex to int number format exception in java
<p>I am getting a number format exception when trying to do it</p>

<pre><code>int temp = Integer.parseInt("C050005C",16);
</code></pre>

<p>if I reduce one of the digits in the hex number it converts but not otherwise. why and how to solve this problem?</p>
