BAEL-3840 Fix example for section 2.1.
This commit is contained in:
parent
a681588bcc
commit
83539b1b3e
|
@ -10,7 +10,7 @@ public class SuppressedExceptionsDemo {
|
|||
try {
|
||||
fileIn = new FileInputStream(filePath);
|
||||
} catch (IOException e) {
|
||||
|
||||
throw new IOException(e.getMessage());
|
||||
} finally {
|
||||
fileIn.close();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue