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:
  • Constructor Details Link icon

  • Method Details Link icon

    • position Link icon

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

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

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

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

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

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

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