Skip to content

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

Class ParserException

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

Direct Known Subtypes:
    YamlParserException


public class ParserException
extends LocatableException

Constructor Summary

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

Methods inherited from LocalizableRuntimeException

getCode, getDetails

Methods inherited from LocatableException

getRawMessage, getUri, getLine, getLocalizedMessage, getMessage, getColumn