This week's book giveaway is in the Security forum.
We're giving away four copies of Securing DevOps and have Julien Vehent on-line!
See this thread for details.
Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

conn.openDataInputStream() throws NumberFormatException  RSS feed

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
conn stands for HttpConnection.
I've located this line with separate try-catch and even API docs say it can throw only IOException.
Headers come fine.
Have you ever seen sth. like this?
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI
Actually public class NumberFormatException extends IllegalArgumentException.I don't know how ur apps works. This exception is thrown to indicate that your application might has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.
Bye.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!