Skip to content

Package io.github.qishr.cascara.common.lang.diagnostic

Class ParserException

java.lang.Object
        java.lang.Throwable
                java.lang.Exception
                        java.lang.RuntimeException
                                io.github.qishr.cascara.common.diagnostic.exception.LocalizableRuntimeException
                                        io.github.qishr.cascara.common.diagnostic.exception.LocatableException
                                                io.github.qishr.cascara.common.lang.diagnostic.ParserException

Direct Known Subtypes:
    YamlParserException


public class ParserException
extends LocatableException

Constructor Summary

Constructor Description
ParserException(DiagnosticMessage message, Object[] details) Standard constructor for generic errors.
ParserException(int line, int column, DiagnosticMessage message, Object[] details) Standard constructor for parser-detected logic errors.
ParserException(Token token, DiagnosticMessage message, Object[] details) Standard constructor for parser-detected logic errors.
ParserException(Throwable cause, DiagnosticMessage message, Object[] details) Constructor for I/O or Stream failures.

Methods inherited from LocatableException

getRawMessage, getUri, getLine, setUri, getLocalizedMessage, getMessage, getColumn

Methods inherited from LocalizableRuntimeException

getDiagnosticMessage, getDetails