Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92c9e0db authored by Vasu Nori's avatar Vasu Nori Committed by Android (Google) Code Review
Browse files

Merge "expose more sqlite errors as exceptions"

parents 44a1e3a5 dea97133
Loading
Loading
Loading
Loading
+243 −0
Original line number Original line Diff line number Diff line
@@ -62521,6 +62521,114 @@
</parameter>
</parameter>
</constructor>
</constructor>
</class>
</class>
<class name="SQLiteAccessPermException"
 extends="android.database.sqlite.SQLiteException"
 abstract="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<constructor name="SQLiteAccessPermException"
 type="android.database.sqlite.SQLiteAccessPermException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</constructor>
<constructor name="SQLiteAccessPermException"
 type="android.database.sqlite.SQLiteAccessPermException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="error" type="java.lang.String">
</parameter>
</constructor>
</class>
<class name="SQLiteBindOrColumnIndexOutOfRangeException"
 extends="android.database.sqlite.SQLiteException"
 abstract="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<constructor name="SQLiteBindOrColumnIndexOutOfRangeException"
 type="android.database.sqlite.SQLiteBindOrColumnIndexOutOfRangeException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</constructor>
<constructor name="SQLiteBindOrColumnIndexOutOfRangeException"
 type="android.database.sqlite.SQLiteBindOrColumnIndexOutOfRangeException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="error" type="java.lang.String">
</parameter>
</constructor>
</class>
<class name="SQLiteBlobTooBigException"
 extends="android.database.sqlite.SQLiteException"
 abstract="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<constructor name="SQLiteBlobTooBigException"
 type="android.database.sqlite.SQLiteBlobTooBigException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</constructor>
<constructor name="SQLiteBlobTooBigException"
 type="android.database.sqlite.SQLiteBlobTooBigException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="error" type="java.lang.String">
</parameter>
</constructor>
</class>
<class name="SQLiteCantOpenDatabaseException"
 extends="android.database.sqlite.SQLiteException"
 abstract="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<constructor name="SQLiteCantOpenDatabaseException"
 type="android.database.sqlite.SQLiteCantOpenDatabaseException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</constructor>
<constructor name="SQLiteCantOpenDatabaseException"
 type="android.database.sqlite.SQLiteCantOpenDatabaseException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="error" type="java.lang.String">
</parameter>
</constructor>
</class>
<class name="SQLiteClosable"
<class name="SQLiteClosable"
 extends="java.lang.Object"
 extends="java.lang.Object"
 abstract="true"
 abstract="true"
@@ -63838,6 +63946,60 @@
</parameter>
</parameter>
</constructor>
</constructor>
</class>
</class>
<class name="SQLiteDatabaseLockedException"
 extends="android.database.sqlite.SQLiteException"
 abstract="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<constructor name="SQLiteDatabaseLockedException"
 type="android.database.sqlite.SQLiteDatabaseLockedException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</constructor>
<constructor name="SQLiteDatabaseLockedException"
 type="android.database.sqlite.SQLiteDatabaseLockedException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="error" type="java.lang.String">
</parameter>
</constructor>
</class>
<class name="SQLiteDatatypeMismatchException"
 extends="android.database.sqlite.SQLiteException"
 abstract="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<constructor name="SQLiteDatatypeMismatchException"
 type="android.database.sqlite.SQLiteDatatypeMismatchException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</constructor>
<constructor name="SQLiteDatatypeMismatchException"
 type="android.database.sqlite.SQLiteDatatypeMismatchException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="error" type="java.lang.String">
</parameter>
</constructor>
</class>
<class name="SQLiteDiskIOException"
<class name="SQLiteDiskIOException"
 extends="android.database.sqlite.SQLiteException"
 extends="android.database.sqlite.SQLiteException"
 abstract="false"
 abstract="false"
@@ -64092,6 +64254,33 @@
</parameter>
</parameter>
</method>
</method>
</class>
</class>
<class name="SQLiteOutOfMemoryException"
 extends="android.database.sqlite.SQLiteException"
 abstract="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<constructor name="SQLiteOutOfMemoryException"
 type="android.database.sqlite.SQLiteOutOfMemoryException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</constructor>
<constructor name="SQLiteOutOfMemoryException"
 type="android.database.sqlite.SQLiteOutOfMemoryException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="error" type="java.lang.String">
</parameter>
</constructor>
</class>
<class name="SQLiteProgram"
<class name="SQLiteProgram"
 extends="android.database.sqlite.SQLiteClosable"
 extends="android.database.sqlite.SQLiteClosable"
 abstract="true"
 abstract="true"
@@ -64640,6 +64829,33 @@
</parameter>
</parameter>
</method>
</method>
</class>
</class>
<class name="SQLiteReadOnlyDatabaseException"
 extends="android.database.sqlite.SQLiteException"
 abstract="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<constructor name="SQLiteReadOnlyDatabaseException"
 type="android.database.sqlite.SQLiteReadOnlyDatabaseException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</constructor>
<constructor name="SQLiteReadOnlyDatabaseException"
 type="android.database.sqlite.SQLiteReadOnlyDatabaseException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="error" type="java.lang.String">
</parameter>
</constructor>
</class>
<class name="SQLiteStatement"
<class name="SQLiteStatement"
 extends="android.database.sqlite.SQLiteProgram"
 extends="android.database.sqlite.SQLiteProgram"
 abstract="false"
 abstract="false"
@@ -64704,6 +64920,33 @@
>
>
</method>
</method>
</class>
</class>
<class name="SQLiteTableLockedException"
 extends="android.database.sqlite.SQLiteException"
 abstract="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<constructor name="SQLiteTableLockedException"
 type="android.database.sqlite.SQLiteTableLockedException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</constructor>
<constructor name="SQLiteTableLockedException"
 type="android.database.sqlite.SQLiteTableLockedException"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="error" type="java.lang.String">
</parameter>
</constructor>
</class>
<interface name="SQLiteTransactionListener"
<interface name="SQLiteTransactionListener"
 abstract="true"
 abstract="true"
 static="false"
 static="false"
+29 −0
Original line number Original line Diff line number Diff line
/*
 * 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;

/**
 * This exception class is used when sqlite can't access the database file
 * due to lack of permissions on the file.
 */
public class SQLiteAccessPermException extends SQLiteException {
    public SQLiteAccessPermException() {}

    public SQLiteAccessPermException(String error) {
        super(error);
    }
}
+28 −0
Original line number Original line Diff line number Diff line
/*
 * 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 the bind or column parameter index is out of range
 */
public class SQLiteBindOrColumnIndexOutOfRangeException extends SQLiteException {
    public SQLiteBindOrColumnIndexOutOfRangeException() {}

    public SQLiteBindOrColumnIndexOutOfRangeException(String error) {
        super(error);
    }
}
+25 −0
Original line number Original line Diff line number Diff line
/*
 * 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;

public class SQLiteBlobTooBigException extends SQLiteException {
    public SQLiteBlobTooBigException() {}

    public SQLiteBlobTooBigException(String error) {
        super(error);
    }
}
+25 −0
Original line number Original line Diff line number Diff line
/*
 * 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;

public class SQLiteCantOpenDatabaseException extends SQLiteException {
    public SQLiteCantOpenDatabaseException() {}

    public SQLiteCantOpenDatabaseException(String error) {
        super(error);
    }
}
Loading