changeset 5810 | e83d67ad8c96 |
parent 5506 | 202f599c92aa |
child 7668 | d4a77089c587 |
5809:6e38efd0293f | 5810:e83d67ad8c96 |
---|---|
42 try { |
42 try { |
43 raf.seek(-10); |
43 raf.seek(-10); |
44 throw new Exception |
44 throw new Exception |
45 ("Should have thrown an IOException when seek offset is < 0"); |
45 ("Should have thrown an IOException when seek offset is < 0"); |
46 } catch (IOException e) { |
46 } catch (IOException e) { |
47 } finally { |
|
48 raf.close(); |
|
47 } |
49 } |
48 } |
50 } |
49 } |
51 } |