HomeSort by relevance Sort by last modified time
    Searched refs:SQLErrorData (Results 1 - 11 of 11) sorted by null

  /external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
SQLError.h 38 class SQLErrorData {
40 static PassOwnPtr<SQLErrorData> create(unsigned code, const String& message)
42 return adoptPtr(new SQLErrorData(code, message));
45 static PassOwnPtr<SQLErrorData> create(unsigned code, const char* message, int sqliteCode, const char* sqliteMessage)
50 static PassOwnPtr<SQLErrorData> create(const SQLErrorData& data)
55 SQLErrorData(const SQLErrorData& data) : m_code(data.m_code), m_message(data.m_message.isolatedCopy()) { }
61 SQLErrorData(unsigned code, const String& message) : m_code(code), m_message(message.isolatedCopy()) { }
70 static PassRefPtrWillBeRawPtr<SQLError> create(const SQLErrorData& data) { return adoptRefWillBeNoop(new SQLError(data));
    [all...]
ChangeVersionWrapper.h 37 class SQLErrorData;
46 virtual SQLErrorData* sqlError() const OVERRIDE { return m_sqlError.get(); }
54 OwnPtr<SQLErrorData> m_sqlError;
SQLStatementBackend.h 41 class SQLErrorData;
61 SQLErrorData* sqlError() const;
77 OwnPtr<SQLErrorData> m_error;
SQLStatementBackend.cpp 104 SQLErrorData* SQLStatementBackend::sqlError() const
136 m_error = SQLErrorData::create(SQLError::DATABASE_ERR, "could not prepare statement", result, "interrupted");
138 m_error = SQLErrorData::create(SQLError::SYNTAX_ERR, "could not prepare statement", result, database->lastErrorMsg());
147 m_error = SQLErrorData::create(SQLError::SYNTAX_ERR, "number of '?'s in statement string does not match argument count");
162 m_error = SQLErrorData::create(SQLError::DATABASE_ERR, "could not bind value", result, database->lastErrorMsg());
185 m_error = SQLErrorData::create(SQLError::DATABASE_ERR, "could not iterate results", result, database->lastErrorMsg());
198 m_error = SQLErrorData::create(SQLError::CONSTRAINT_ERR, "could not execute statement due to a constaint failure", result, database->lastErrorMsg());
202 m_error = SQLErrorData::create(SQLError::DATABASE_ERR, "could not execute statement", result, database->lastErrorMsg());
219 m_error = SQLErrorData::create(SQLError::VERSION_ERR, "current version of the database and `oldVersion` argument do not match");
226 m_error = SQLErrorData::create(SQLError::QUOTA_ERR, "there was not enough remaining storage space, or the storage quota w (…)
    [all...]
SQLTransactionBackend.h 42 class SQLErrorData;
55 virtual SQLErrorData* sqlError() const = 0;
76 SQLErrorData* transactionError();
116 OwnPtr<SQLErrorData> m_transactionError;
ChangeVersionWrapper.cpp 54 m_sqlError = SQLErrorData::create(SQLError::UNKNOWN_ERR, "unable to read the current version",
61 m_sqlError = SQLErrorData::create(SQLError::VERSION_ERR, "current version of the database and `oldVersion` argument do not match");
77 m_sqlError = SQLErrorData::create(SQLError::UNKNOWN_ERR, "unable to set new version in database",
SQLTransaction.h 43 class SQLErrorData;
110 OwnPtr<SQLErrorData> m_transactionError;
SQLTransactionBackend.cpp 440 SQLErrorData* SQLTransactionBackend::transactionError()
580 m_transactionError = SQLErrorData::create(SQLError::DATABASE_ERR, "unable to begin transaction",
592 m_transactionError = SQLErrorData::create(SQLError::DATABASE_ERR, "unable to read version",
607 m_transactionError = SQLErrorData::create(*m_wrapper->sqlError());
610 m_transactionError = SQLErrorData::create(SQLError::UNKNOWN_ERR, "unknown error occurred during transaction preflight");
    [all...]
SQLStatement.cpp 93 SQLErrorData* error = m_backend->sqlError();
SQLTransaction.cpp 165 m_transactionError = SQLErrorData::create(SQLError::UNKNOWN_ERR, "the SQLTransactionCallback was null or threw an exception");
183 m_transactionError = SQLErrorData::create(*m_backend->transactionError());
213 m_transactionError = SQLErrorData::create(SQLError::UNKNOWN_ERR, "the statement callback raised an exception or statement error callback did not return false");
Database.cpp 819 static void callTransactionErrorCallback(ExecutionContext*, SQLTransactionErrorCallback* callback, PassOwnPtr<SQLErrorData> errorData)
845 OwnPtr<SQLErrorData> error = SQLErrorData::create(SQLError::UNKNOWN_ERR, "database has been closed");
    [all...]

Completed in 69 milliseconds