diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Compiler/Utils.java | 13 | 
1 files changed, 10 insertions, 3 deletions
| diff --git a/src/Compiler/Utils.java b/src/Compiler/Utils.java index d0206c1..b19320e 100644 --- a/src/Compiler/Utils.java +++ b/src/Compiler/Utils.java @@ -27,10 +27,17 @@ public class Utils {      public static void main(String[] args) throws Exception {          String currentPath = new java.io.File(".").getCanonicalPath(); -        System.out.println("Current dir:" + currentPath); -        String helpfile = readFile("Compiler/helpfile.txt"); -        System.out.println(helpfile); +        System.out.println("Util class testing"); + +        try { +            String helpfile = readFile("Compiler/helpfile.txt"); +            System.out.println("File read success"); +        } +        catch (Exception e) { +            System.out.println("File read failure"); +        } +      } | 
