Package io.trino.sql.parser
Class ParsingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.trino.sql.parser.ParsingException
-
- All Implemented Interfaces:
Serializable
public class ParsingException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParsingException(String message)ParsingException(String message, NodeLocation nodeLocation)ParsingException(String message, org.antlr.v4.runtime.RecognitionException cause, int line, int column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumnNumber()StringgetErrorMessage()intgetLineNumber()StringgetMessage()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ParsingException
public ParsingException(String message, org.antlr.v4.runtime.RecognitionException cause, int line, int column)
-
ParsingException
public ParsingException(String message)
-
ParsingException
public ParsingException(String message, NodeLocation nodeLocation)
-
-
Method Detail
-
getLineNumber
public int getLineNumber()
-
getColumnNumber
public int getColumnNumber()
-
getErrorMessage
public String getErrorMessage()
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
-