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 {
|
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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue