Package net.emustudio.edigen
Class SemanticException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.emustudio.edigen.SemanticException
-
- All Implemented Interfaces:
java.io.Serializable
public class SemanticException extends java.lang.ExceptionThis class represents an error found during semantic analysis, for example a duplicate rule name.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SemanticException(java.lang.String message, TreeNode node)Constructs a semantic exception.
-
-
-
Constructor Detail
-
SemanticException
public SemanticException(java.lang.String message, TreeNode node)Constructs a semantic exception.- Parameters:
message- the message accurately describing the errornode- the affected node, used to display a line number
-
-