108b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori/* 208b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori * Copyright (C) 2006 The Android Open Source Project 308b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori * 408b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori * Licensed under the Apache License, Version 2.0 (the "License"); 508b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori * you may not use this file except in compliance with the License. 608b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori * You may obtain a copy of the License at 708b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori * 808b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori * http://www.apache.org/licenses/LICENSE-2.0 908b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori * 1008b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori * Unless required by applicable law or agreed to in writing, software 1108b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori * distributed under the License is distributed on an "AS IS" BASIS, 1208b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1308b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori * See the License for the specific language governing permissions and 1408b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori * limitations under the License. 1508b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori */ 1608b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori 1708b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Noripackage android.database.sqlite; 1808b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori 1908b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori/** 2008b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori * An exception that indicates that garbage-collector is finalizing a database object 2108b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori * that is not explicitly closed 224da24f428f7f45dad677c83e3e1085560e3c5f81Vasu Nori * @hide 2308b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori */ 2420f549fd2f40db524242c9038d7d63356adf95fcVasu Noripublic class DatabaseObjectNotClosedException extends RuntimeException { 2508b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori private static final String s = "Application did not close the cursor or database object " + 2608b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori "that was opened here"; 2708b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori 2820f549fd2f40db524242c9038d7d63356adf95fcVasu Nori public DatabaseObjectNotClosedException() { 2908b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori super(s); 3008b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori } 3108b448ea39e9fabfc5212ae6f7226eba4385d189Vasu Nori} 32