public class SQLGrammarException extends JDBCException
Implementation of JDBCException indicating that the SQL sent to the database server was invalid (syntax error, invalid object references, etc).
| Constructor and Description |
|---|
SQLGrammarException(String message,
SQLException root)
Constructor for JDBCException.
|
SQLGrammarException(String message,
SQLException root,
String sql)
Constructor for JDBCException.
|
getErrorCode, getSQL, getSQLException, getSQLStateaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SQLGrammarException(String message, SQLException root)
Constructor for JDBCException.
root - The underlying exception.public SQLGrammarException(String message, SQLException root, String sql)
Constructor for JDBCException.
message - Optional message.root - The underlying exception.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.