NumberFormatException error from String to integer
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/13638938/string-to-integer-convertion">String to integer convertion</a>  </p>
</blockquote>



<p>For one of my project I have to pass ineger value in this format "16:45:10". this format is in String. I am converting this to ineger like <code>int i = Integer.parseInt(string)</code> but it;s giving me error saying NumberFormatException error;</p>

<p>How to solve this.</p>

<p>Thanks</p>
