public final class ParserException extends DataAccessException
DSLContext.parser()
.Constructor and Description |
---|
ParserException(String sql) |
ParserException(String sql,
String message) |
ParserException(String sql,
String message,
SQLStateSubclass state) |
ParserException(String sql,
String message,
SQLStateSubclass state,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
column()
The one-based column number within the SQL string at which an exception was thrown, if applicable.
|
ParserException |
column(int c)
Set the
column() . |
int |
line()
The one-based line number within the SQL string at which an exception was thrown, if applicable.
|
ParserException |
line(int l)
Set the
line() . |
int |
position()
The zero-based position within the SQL string at which an exception was thrown, if applicable.
|
ParserException |
position(int p)
Set the
position() . |
String |
sql()
The SQL string that caused the exception.
|
getCause, getStackTrace, sqlState, sqlStateClass, sqlStateSubclass
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ParserException(String sql)
public ParserException(String sql, String message, SQLStateSubclass state)
public ParserException(String sql, String message, SQLStateSubclass state, Throwable cause)
public final int position()
public final ParserException position(int p)
position()
.public final int line()
public final ParserException line(int l)
line()
.public final int column()
public final ParserException column(int c)
column()
.public final String sql()
Copyright © 2019. All rights reserved.