Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/source/Source.java @ 18979:bdb24e259c11
include original exception in FileSource.getReader
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Tue, 27 Jan 2015 23:12:58 +0100 |
parents | 1c12cf39281d |
children | ae0eb836e6f4 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/source/Source.java Tue Jan 27 23:12:51 2015 +0100 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/source/Source.java Tue Jan 27 23:12:58 2015 +0100 @@ -594,7 +594,8 @@ try { return new FileReader(file); } catch (FileNotFoundException e) { - throw new RuntimeException("Can't find file " + path); + + throw new RuntimeException("Can't find file " + path, e); } }