Mercurial Hosting > nabble
view 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 |
line wrap: on
line source
package nabble.naml.compiler; public class CompileException extends Exception { public final StackTrace stackTrace; public CompileException(StackTrace stackTrace,String msg) { super(msg+stackTrace); this.stackTrace = new StackTrace(stackTrace); } public CompileException(StackTrace stackTrace,String msg,Exception e) { super(msg+stackTrace,e); this.stackTrace = new StackTrace(stackTrace); } }