Home
last modified time | relevance | path

Searched refs:SQLError (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
DSQLStatementBackend.cpp97 PassRefPtr<SQLError> SQLStatementBackend::sqlError() const in sqlError()
129 …m_error = SQLError::create(SQLError::DATABASE_ERR, "could not prepare statement", result, "interru… in execute()
131 …m_error = SQLError::create(SQLError::SYNTAX_ERR, "could not prepare statement", result, database->… in execute()
140 …m_error = SQLError::create(db->isInterrupted() ? SQLError::DATABASE_ERR : SQLError::SYNTAX_ERR, "n… in execute()
154 db->reportExecuteStatementResult(3, SQLError::DATABASE_ERR, result); in execute()
155 …m_error = SQLError::create(SQLError::DATABASE_ERR, "could not bind value", result, database->lastE… in execute()
179 db->reportExecuteStatementResult(4, SQLError::DATABASE_ERR, result); in execute()
180 …m_error = SQLError::create(SQLError::DATABASE_ERR, "could not iterate results", result, database->… in execute()
192 db->reportExecuteStatementResult(6, SQLError::CONSTRAINT_ERR, result); in execute()
193 …m_error = SQLError::create(SQLError::CONSTRAINT_ERR, "could not execute statement due to a constai… in execute()
[all …]
DChangeVersionWrapper.cpp53 database->reportChangeVersionResult(1, SQLError::UNKNOWN_ERR, sqliteError); in performPreflight()
54 m_sqlError = SQLError::create(SQLError::UNKNOWN_ERR, "unable to read the current version", in performPreflight()
60 database->reportChangeVersionResult(2, SQLError::VERSION_ERR, 0); in performPreflight()
61 …m_sqlError = SQLError::create(SQLError::VERSION_ERR, "current version of the database and `oldVers… in performPreflight()
76 database->reportChangeVersionResult(3, SQLError::UNKNOWN_ERR, sqliteError); in performPostflight()
77 … m_sqlError = SQLError::create(SQLError::UNKNOWN_ERR, "unable to set new version in database", in performPostflight()
DSQLError.h38 class SQLError : public ThreadSafeRefCounted<SQLError>, public ScriptWrappable {
40 …static PassRefPtr<SQLError> create(unsigned code, const String& message) { return adoptRef(new SQL… in create()
41 static PassRefPtr<SQLError> create(unsigned code, const char* message, int sqliteCode) in create()
45 …static PassRefPtr<SQLError> create(unsigned code, const char* message, int sqliteCode, const char*… in create()
70 SQLError(unsigned code, const String& message) : m_code(code), m_message(message.isolatedCopy()) in SQLError() function
DSQLTransactionBackend.cpp428 PassRefPtr<SQLError> SQLTransactionBackend::transactionError() in transactionError()
569 …m_database->reportStartTransactionResult(2, SQLError::DATABASE_ERR, m_database->sqliteDatabase().l… in openTransactionAndPreflight()
570 m_transactionError = SQLError::create(SQLError::DATABASE_ERR, "unable to begin transaction", in openTransactionAndPreflight()
581 …m_database->reportStartTransactionResult(3, SQLError::DATABASE_ERR, m_database->sqliteDatabase().l… in openTransactionAndPreflight()
582 m_transactionError = SQLError::create(SQLError::DATABASE_ERR, "unable to read version", in openTransactionAndPreflight()
598 m_database->reportStartTransactionResult(4, SQLError::UNKNOWN_ERR, 0); in openTransactionAndPreflight()
599 …m_transactionError = SQLError::create(SQLError::UNKNOWN_ERR, "unknown error occurred during transa… in openTransactionAndPreflight()
698 m_database->reportCommitTransactionResult(1, SQLError::DATABASE_ERR, 0); in nextStateForCurrentStatementError()
699 … m_transactionError = SQLError::create(SQLError::DATABASE_ERR, "the statement failed to execute"); in nextStateForCurrentStatementError()
712 m_database->reportCommitTransactionResult(3, SQLError::UNKNOWN_ERR, 0); in postflightAndCommit()
[all …]
DSQLTransactionBackendSync.cpp80 exceptionState.throwDOMException(UnknownError, SQLError::unknownErrorMessage); in executeSQL()
86 exceptionState.throwDOMException(VersionError, SQLError::versionErrorMessage); in executeSQL()
133 m_database->reportStartTransactionResult(1, SQLError::UNKNOWN_ERR, 0); in begin()
135 exceptionState.throwDOMException(UnknownError, SQLError::unknownErrorMessage); in begin()
156 …m_database->reportStartTransactionResult(2, SQLError::DATABASE_ERR, m_database->sqliteDatabase().l… in begin()
169 …m_database->reportStartTransactionResult(3, SQLError::DATABASE_ERR, m_database->sqliteDatabase().l… in begin()
187 exceptionState.throwDOMException(UnknownError, SQLError::unknownErrorMessage); in execute()
198 m_database->reportCommitTransactionResult(1, SQLError::UNKNOWN_ERR, 0); in commit()
200 exceptionState.throwDOMException(UnknownError, SQLError::unknownErrorMessage); in commit()
212 …m_database->reportCommitTransactionResult(2, SQLError::DATABASE_ERR, m_database->sqliteDatabase().… in commit()
DSQLError.cpp36 const char SQLError::quotaExceededErrorMessage[] = "Quota was exceeded.";
37 const char SQLError::syntaxErrorMessage[] = "Invalid or unauthorized statement; or the number of ar…
38 const char SQLError::unknownErrorMessage[] = "The operation failed for reasons unrelated to the dat…
39 const char SQLError::versionErrorMessage[] = "The actual database version did not match the expecte…
DDatabaseSync.cpp80 reportChangeVersionResult(1, SQLError::DATABASE_ERR, 0); in changeVersion()
95 reportChangeVersionResult(2, SQLError::UNKNOWN_ERR, sqliteDatabase().lastError()); in changeVersion()
97 exceptionState.throwDOMException(UnknownError, SQLError::unknownErrorMessage); in changeVersion()
102 reportChangeVersionResult(3, SQLError::VERSION_ERR, 0); in changeVersion()
104 exceptionState.throwDOMException(VersionError, SQLError::versionErrorMessage); in changeVersion()
116 reportChangeVersionResult(4, SQLError::UNKNOWN_ERR, sqliteDatabase().lastError()); in changeVersion()
118 exceptionState.throwDOMException(UnknownError, SQLError::unknownErrorMessage); in changeVersion()
DChangeVersionWrapper.h36 class SQLError; variable
44 virtual SQLError* sqlError() const { return m_sqlError.get(); } in sqlError()
52 RefPtr<SQLError> m_sqlError;
DSQLTransactionBackend.h44 class SQLError; variable
55 virtual SQLError* sqlError() const = 0;
79 virtual PassRefPtr<SQLError> transactionError() OVERRIDE;
115 RefPtr<SQLError> m_transactionError;
DSQLStatementBackend.h42 class SQLError; variable
59 virtual PassRefPtr<SQLError> sqlError() const;
75 RefPtr<SQLError> m_error;
DSQLTransaction.cpp153 m_database->reportStartTransactionResult(5, SQLError::UNKNOWN_ERR, 0); in deliverTransactionCallback()
154 …m_transactionError = SQLError::create(SQLError::UNKNOWN_ERR, "the SQLTransactionCallback was null … in deliverTransactionCallback()
201 m_database->reportCommitTransactionResult(2, SQLError::UNKNOWN_ERR, 0); in deliverStatementCallback()
202 …m_transactionError = SQLError::create(SQLError::UNKNOWN_ERR, "the statement callback raised an exc… in deliverStatementCallback()
DSQLStatementSync.cpp65 exceptionState.throwDOMException(SyntaxError, SQLError::syntaxErrorMessage); in execute()
74 exceptionState.throwDOMException(SyntaxError, SQLError::syntaxErrorMessage); in execute()
82 … exceptionState.throwDOMException(QuotaExceededError, SQLError::quotaExceededErrorMessage); in execute()
123 exceptionState.throwDOMException(QuotaExceededError, SQLError::quotaExceededErrorMessage); in execute()
DSQLTransactionErrorCallback.h34 class SQLError; variable
39 virtual bool handleEvent(SQLError*) = 0;
DSQLStatementErrorCallback.h35 class SQLError; variable
40 virtual bool handleEvent(SQLTransaction*, SQLError*) = 0;
DDatabase.cpp159 …ck(ExecutionContext*, PassOwnPtr<SQLTransactionErrorCallback> callback, PassRefPtr<SQLError> error) in callTransactionErrorCallback()
179 … RefPtr<SQLError> error = SQLError::create(SQLError::UNKNOWN_ERR, "database has been closed"); in runTransaction()
DSQLTransaction.h45 class SQLError; variable
105 RefPtr<SQLError> m_transactionError;
DAbstractSQLStatementBackend.h39 virtual PassRefPtr<SQLError> sqlError() const = 0;
DAbstractSQLTransactionBackend.h46 virtual PassRefPtr<SQLError> transactionError() = 0;
DSQLStatement.h43 class SQLError; variable
DSQLStatement.cpp82 RefPtr<SQLError> error = m_backend->sqlError(); in performCallback()
DSQLStatementErrorCallback.idl30 [Custom] boolean handleEvent(SQLTransaction transaction, SQLError error);
DSQLTransactionErrorCallback.idl30 boolean handleEvent(SQLError error);
DSQLError.idl31 ] interface SQLError {
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorDatabaseAgent.cpp63 void reportTransactionFailed(ExecuteSQLCallback* requestCallback, SQLError* error) in reportTransactionFailed()
118 virtual bool handleEvent(SQLTransaction*, SQLError* error) in handleEvent()
167 virtual bool handleEvent(SQLError* error) in handleEvent()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8CustomSQLStatementErrorCallback.cpp42 bool V8SQLStatementErrorCallback::handleEvent(SQLTransaction* transaction, SQLError* error) in handleEvent()

12