public class BadSyntaxException extends RuntimeException
Constructor and Description |
---|
BadSyntaxException(String message,
SyntaxNode syntaxNode)
Constructs a new exception representing a keyword mismatch.
|
Modifier and Type | Method and Description |
---|---|
SyntaxNode |
getSyntaxNode()
Get the specific syntax node which caused the compilation failure.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BadSyntaxException(String message, SyntaxNode syntaxNode)
message
- Detailed error message.syntaxNode
- SyntaxNode
entity that caused the failure.public SyntaxNode getSyntaxNode()
SyntaxNode
that caused the compilation error.Copyright © 2015. All Rights Reserved.