Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Contributor
Posts: 9
Registered: ‎05-29-2012
My Device: 8520 curve
My Carrier: Airtel

Httpconnection throwing ioexception send or recieved failed

Hi all,

I'm opening a httpconnection in a thread to download some images in a for loop it works fine sometime but most of the times it throws I/O exception send or recieve failed. Can please any one tell me what might have been gone wrong.



Thanks & regards,


Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Httpconnection throwing ioexception send or recieved failed

This is perfectly normal, sometimes the phone goes out of wireless cover!


So you have to code round it.


In addition, you should record the exceptions or errors you find so that if you find a pattern or you have a user who is having difficulty, you can perhaps address it.