Originally posted by Ravi Pinnaboyina: Is it that U need a code that can generate IOException to have a catch block for IOException. Is this same even for remaining Exceptions ??? Then If dont write a any code and keep an Exception catch block why is this not complaining? Is this behaviour specific to IOException only???