I have a snippet as follows:
try
{
//blah!!
}
catch(IOException e)
{
throw new RuntimeException(e);
}
I do not understand how the above works? Will it catch
an IOException
and when it does that will it throw
a RuntimeException
? In that case the IOException
will not have any meaning right? Some example would help.