Mercurial Hosting > nabble
annotate src/nabble/naml/compiler/CompileException.java @ 0:7ecd1a4ef557
add content
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 Mar 2019 19:15:52 -0600 |
parents | |
children |
rev | line source |
---|---|
0 | 1 package nabble.naml.compiler; |
2 | |
3 | |
4 public class CompileException extends Exception { | |
5 public final StackTrace stackTrace; | |
6 | |
7 public CompileException(StackTrace stackTrace,String msg) { | |
8 super(msg+stackTrace); | |
9 this.stackTrace = new StackTrace(stackTrace); | |
10 } | |
11 | |
12 public CompileException(StackTrace stackTrace,String msg,Exception e) { | |
13 super(msg+stackTrace,e); | |
14 this.stackTrace = new StackTrace(stackTrace); | |
15 } | |
16 } |