类 SQLGrammarException

  • 所有已实现的接口:
    Serializable

    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).
    作者:
    Steve Ebersole
    另请参阅:
    序列化表格
    • 构造器详细资料

      • SQLGrammarException

        public SQLGrammarException​(String message,
                                   SQLException root)
        Constructor for JDBCException.
        参数:
        root - The underlying exception.
      • SQLGrammarException

        public SQLGrammarException​(String message,
                                   SQLException root,
                                   String sql)
        Constructor for JDBCException.
        参数:
        message - Optional message.
        root - The underlying exception.