# HG changeset patch # User Lukas Stadler # Date 1422396778 -3600 # Node ID bdb24e259c116c073b3fbbb3434cd4cefe4134c4 # Parent 9110e3065561bf6ffab6d2c875d0dbc902ca7b7f include original exception in FileSource.getReader diff -r 9110e3065561 -r bdb24e259c11 graal/com.oracle.truffle.api/src/com/oracle/truffle/api/source/Source.java --- 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); } }