Module org.jooq
Package org.jooq.impl

Class ParserException

All Implemented Interfaces:
Serializable

public final class ParserException extends DataAccessException
An exception that arises while parsing SQL through DSLContext.parser().
Author:
Lukas Eder
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • position

      public final int position()
      The zero-based position within the SQL string at which an exception was thrown, if applicable.
    • position

      public final ParserException position(int p)
      Set the position().
    • line

      public final int line()
      The one-based line number within the SQL string at which an exception was thrown, if applicable.
    • line

      public final ParserException line(int l)
      Set the line().
    • column

      public final int column()
      The one-based column number within the SQL string at which an exception was thrown, if applicable.
    • column

      public final ParserException column(int c)
      Set the column().
    • sql

      public final String sql()
      The SQL string that caused the exception.