BAEL-3840 Fix example for section 2.1.

This commit is contained in:
amdegregorio 2020-02-18 16:07:26 -05:00
parent a681588bcc
commit 83539b1b3e
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ public class SuppressedExceptionsDemo {
try { try {
fileIn = new FileInputStream(filePath); fileIn = new FileInputStream(filePath);
} catch (IOException e) { } catch (IOException e) {
throw new IOException(e.getMessage());
} finally { } finally {
fileIn.close(); fileIn.close();
} }