javax.imageio.IIOException: Can't get input stream from URL!
<p>I write a code in java code to save images from specified links.
It works fine mostly, but some time it throws an exception ie
"javax.imageio.IIOException: Can't get input stream from URL!
 at javax.imageio.ImageIO.read(ImageIO.java:1369)"</p>

<p>Whenever this exception throws I check the url in browser, it will
correct always.</p>

<p>Please suggest me some solution to solve this problem.</p>

<p>Thanks!</p>
