// This rule specifies whether empty finally
block are
// allowed. Finally blocks may follow a try/catch statement
// in which something could go wrong. Hence, it was either
// forgotten or it is a sign of bad coding to have empty
// finally blocks.
...
try
{
foo();
}
catch(FooException e)
{
// The stacktrace is printed to
the error channel
// Some other appropriate action might be taken as
// well
e.printStackTrace(System.err);
}
finally
{
// most likely something was intended
to be done
// here
}