All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dragome.compiler.parser.ParseException Maven / Gradle / Ivy

There is a newer version: 0.96-beta4
Show newest version
package com.dragome.compiler.parser;

import com.dragome.compiler.ast.ASTNode;

public class ParseException extends RuntimeException
{

	private ASTNode astNode;

	public ParseException(String msg, ASTNode node)
	{
		super(msg);
		astNode= node;
	}

	public ParseException(Throwable cause, ASTNode node)
	{
		super(cause);
		astNode= node;
	}

	public ASTNode getAstNode()
	{
		return astNode;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy