HomeSort by relevance Sort by last modified time
    Searched refs:SQLError (Results 1 - 25 of 43) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
SQLError.cpp 32 #include "modules/webdatabase/SQLError.h"
36 const char SQLError::quotaExceededErrorMessage[] = "Quota was exceeded.";
37 const char SQLError::syntaxErrorMessage[] = "Invalid or unauthorized statement; or the number of arguments did not match the number of ? placeholders.";
38 const char SQLError::unknownErrorMessage[] = "The operation failed for reasons unrelated to the database.";
39 const char SQLError::versionErrorMessage[] = "The actual database version did not match the expected version.";
SQLTransactionErrorCallback.h 36 class SQLError;
41 virtual bool handleEvent(SQLError*) = 0;
SQLTransactionErrorCallback.idl 30 boolean handleEvent(SQLError error);
SQLStatementErrorCallback.h 37 class SQLError;
42 virtual bool handleEvent(SQLTransaction*, SQLError*) = 0;
SQLStatementErrorCallback.idl 30 [Custom] boolean handleEvent(SQLTransaction transaction, SQLError error);
SQLError.h 38 class SQLError : public ThreadSafeRefCounted<SQLError>, public ScriptWrappable {
40 static PassRefPtr<SQLError> create(unsigned code, const String& message) { return adoptRef(new SQLError(code, message)); }
41 static PassRefPtr<SQLError> create(unsigned code, const char* message, int sqliteCode)
45 static PassRefPtr<SQLError> create(unsigned code, const char* message, int sqliteCode, const char* sqliteMessage)
70 SQLError(unsigned code, const String& message) : m_code(code), m_message(message.isolatedCopy())
ChangeVersionWrapper.h 36 class SQLError;
44 virtual SQLError* sqlError() const { return m_sqlError.get(); }
52 RefPtr<SQLError> m_sqlError;
AbstractSQLStatementBackend.h 29 #include "modules/webdatabase/SQLError.h"
39 virtual PassRefPtr<SQLError> sqlError() const = 0;
ChangeVersionWrapper.cpp 32 #include "modules/webdatabase/SQLError.h"
53 database->reportChangeVersionResult(1, SQLError::UNKNOWN_ERR, sqliteError);
54 m_sqlError = SQLError::create(SQLError::UNKNOWN_ERR, "unable to read the current version",
60 database->reportChangeVersionResult(2, SQLError::VERSION_ERR, 0);
61 m_sqlError = SQLError::create(SQLError::VERSION_ERR, "current version of the database and `oldVersion` argument do not match");
76 database->reportChangeVersionResult(3, SQLError::UNKNOWN_ERR, sqliteError);
77 m_sqlError = SQLError::create(SQLError::UNKNOWN_ERR, "unable to set new version in database"
    [all...]
SQLStatementBackend.cpp 37 #include "modules/webdatabase/SQLError.h"
98 PassRefPtr<SQLError> SQLStatementBackend::sqlError() const
130 m_error = SQLError::create(SQLError::DATABASE_ERR, "could not prepare statement", result, "interrupted");
132 m_error = SQLError::create(SQLError::SYNTAX_ERR, "could not prepare statement", result, database->lastErrorMsg());
141 m_error = SQLError::create(db->isInterrupted() ? SQLError::DATABASE_ERR : SQLError::SYNTAX_ERR, "number of '?'s in statement string does not match argument count")
    [all...]
SQLStatementBackend.h 42 class SQLError;
60 virtual PassRefPtr<SQLError> sqlError() const;
76 RefPtr<SQLError> m_error;
SQLError.idl 31 ] interface SQLError {
SQLTransactionBackend.cpp 42 #include "modules/webdatabase/SQLError.h"
434 PassRefPtr<SQLError> SQLTransactionBackend::transactionError()
566 m_database->reportStartTransactionResult(1, SQLError::UNKNOWN_ERR, 0);
567 m_transactionError = SQLError::create(SQLError::UNKNOWN_ERR, "unable to open a transaction, because the user deleted the database");
586 m_database->reportStartTransactionResult(2, SQLError::DATABASE_ERR, m_database->sqliteDatabase().lastError());
587 m_transactionError = SQLError::create(SQLError::DATABASE_ERR, "unable to begin transaction",
598 m_database->reportStartTransactionResult(3, SQLError::DATABASE_ERR, m_database->sqliteDatabase().lastError());
599 m_transactionError = SQLError::create(SQLError::DATABASE_ERR, "unable to read version"
    [all...]
AbstractSQLTransactionBackend.h 31 #include "modules/webdatabase/SQLError.h"
46 virtual PassRefPtr<SQLError> transactionError() = 0;
SQLStatement.h 43 class SQLError;
SQLTransactionBackend.h 44 class SQLError;
55 virtual SQLError* sqlError() const = 0;
79 virtual PassRefPtr<SQLError> transactionError() OVERRIDE;
115 RefPtr<SQLError> m_transactionError;
DatabaseSync.cpp 44 #include "modules/webdatabase/SQLError.h"
83 reportChangeVersionResult(1, SQLError::DATABASE_ERR, 0);
98 reportChangeVersionResult(2, SQLError::UNKNOWN_ERR, sqliteDatabase().lastError());
100 es.throwDOMException(UnknownError, SQLError::unknownErrorMessage);
105 reportChangeVersionResult(3, SQLError::VERSION_ERR, 0);
107 es.throwDOMException(VersionError, SQLError::versionErrorMessage);
119 reportChangeVersionResult(4, SQLError::UNKNOWN_ERR, sqliteDatabase().lastError());
121 es.throwDOMException(UnknownError, SQLError::unknownErrorMessage);
SQLTransactionBackendSync.cpp 43 #include "modules/webdatabase/SQLError.h"
81 es.throwDOMException(UnknownError, SQLError::unknownErrorMessage);
87 es.throwDOMException(VersionError, SQLError::versionErrorMessage);
134 m_database->reportStartTransactionResult(1, SQLError::UNKNOWN_ERR, 0);
136 es.throwDOMException(UnknownError, SQLError::unknownErrorMessage);
157 m_database->reportStartTransactionResult(2, SQLError::DATABASE_ERR, m_database->sqliteDatabase().lastError());
170 m_database->reportStartTransactionResult(3, SQLError::DATABASE_ERR, m_database->sqliteDatabase().lastError());
188 es.throwDOMException(UnknownError, SQLError::unknownErrorMessage);
199 m_database->reportCommitTransactionResult(1, SQLError::UNKNOWN_ERR, 0);
201 es.throwDOMException(UnknownError, SQLError::unknownErrorMessage)
    [all...]
SQLStatementSync.cpp 39 #include "modules/webdatabase/SQLError.h"
66 es.throwDOMException(SyntaxError, SQLError::syntaxErrorMessage);
75 es.throwDOMException(SyntaxError, SQLError::syntaxErrorMessage);
83 es.throwDOMException(QuotaExceededError, SQLError::quotaExceededErrorMessage);
124 es.throwDOMException(QuotaExceededError, SQLError::quotaExceededErrorMessage);
SQLTransaction.h 45 class SQLError;
103 RefPtr<SQLError> m_transactionError;
SQLTransaction.cpp 40 #include "modules/webdatabase/SQLError.h"
153 m_database->reportStartTransactionResult(5, SQLError::UNKNOWN_ERR, 0);
154 m_transactionError = SQLError::create(SQLError::UNKNOWN_ERR, "the SQLTransactionCallback was null or threw an exception");
201 m_database->reportCommitTransactionResult(2, SQLError::UNKNOWN_ERR, 0);
202 m_transactionError = SQLError::create(SQLError::UNKNOWN_ERR, "the statement callback raised an exception or statement error callback did not return false");
Database.cpp 48 #include "modules/webdatabase/SQLError.h"
185 static void callTransactionErrorCallback(ScriptExecutionContext*, PassRefPtr<SQLTransactionErrorCallback> callback, PassRefPtr<SQLError> error)
199 RefPtr<SQLError> error = SQLError::create(SQLError::UNKNOWN_ERR, "database has been closed");
SQLStatement.cpp 83 RefPtr<SQLError> error = m_backend->sqlError();
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8CustomSQLStatementErrorCallback.cpp 43 bool V8SQLStatementErrorCallback::handleEvent(SQLTransaction* transaction, SQLError* error)
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorDatabaseAgent.cpp 44 #include "modules/webdatabase/SQLError.h"
64 void reportTransactionFailed(ExecuteSQLCallback* requestCallback, SQLError* error)
119 virtual bool handleEvent(SQLTransaction*, SQLError* error)
168 virtual bool handleEvent(SQLError* error)

Completed in 96 milliseconds

1 2