summaryrefslogtreecommitdiffstats
path: root/core/java/android/database
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-01-19 16:39:03 -0800
committerJeff Brown <jeffbrown@google.com>2012-01-19 16:39:03 -0800
commit48a4789686412390f9efd3bad0bfcaa3efbf9bfc (patch)
treeaa0d8ceb607941d9362390adce8156b7c03b6baa /core/java/android/database
parent2a293b61cb0efbf24994d74ed980f58b820bb35a (diff)
downloadframeworks_base-48a4789686412390f9efd3bad0bfcaa3efbf9bfc.zip
frameworks_base-48a4789686412390f9efd3bad0bfcaa3efbf9bfc.tar.gz
frameworks_base-48a4789686412390f9efd3bad0bfcaa3efbf9bfc.tar.bz2
Remove custom SQLITE_UNCLOSED error code.
This error code was introduced at some point to help track when a database could not be closed because a statement was not finalized. Now that the DB wrappers have been rewritten, it is technically no longer poossible for this to happen, so we can remove this. Change-Id: Ibbd55debbf390af436d6533aebff9726b1ff29e7
Diffstat (limited to 'core/java/android/database')
-rw-r--r--core/java/android/database/sqlite/SQLiteUnfinalizedObjectsException.java31
1 files changed, 0 insertions, 31 deletions
diff --git a/core/java/android/database/sqlite/SQLiteUnfinalizedObjectsException.java b/core/java/android/database/sqlite/SQLiteUnfinalizedObjectsException.java
deleted file mode 100644
index bcf95e2..0000000
--- a/core/java/android/database/sqlite/SQLiteUnfinalizedObjectsException.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright (C) 2010 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package android.database.sqlite;
-
-/**
- * Thrown if the database can't be closed because of some un-closed
- * Cursor or SQLiteStatement objects. Could happen when a thread is trying to close
- * the database while another thread still hasn't closed a Cursor on that database.
- * @hide
- */
-public class SQLiteUnfinalizedObjectsException extends SQLiteException {
- public SQLiteUnfinalizedObjectsException() {}
-
- public SQLiteUnfinalizedObjectsException(String error) {
- super(error);
- }
-}