• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

conn.openDataInputStream() throws NumberFormatException

 
Kris Sobczak
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?
 
Debojit Nag
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