view src/nabble/naml/compiler/CompileException.java @ 62:4674ed7d56df default tip

remove n2
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 30 Sep 2023 20:25:29 -0600
parents 7ecd1a4ef557
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);
	}
}