public class CompileException extends NumberedException
"Unable to understand after -- ..."
Modifier and Type | Field and Description |
---|---|
private Aast |
source
The AST that caused the failure to occur.
|
Constructor and Description |
---|
CompileException(int id,
java.lang.String message,
Aast source)
The only constructor initiate the internal state of the immutable object.
|
fillInStackTrace, getNumber, getNumbers, isPrefix
private final Aast source
public CompileException(int id, java.lang.String message, Aast source)
id
- The error code of the error to be handled.message
- The message that describes the error to be handled.source
- The location where the error occurred. Used for debugging or future improvement in
message rendering (to match P4GL pattern).