Ich habe ein Snippet wie folgt:
try
{
//blah!!
}
catch(IOException e)
{
throw new RuntimeException(e);
}
Ich verstehe nicht, wie das obige funktioniert? Wird es eine IOException
catch
und wenn ja, wird es dann eine RuntimeException
throw
? In diesem Fall wird die IOException
keine Bedeutung haben, richtig? Ein Beispiel würde helfen.