16141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori/*
26141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori * Copyright (C) 2010 The Android Open Source Project
36141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori *
46141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori * Licensed under the Apache License, Version 2.0 (the "License");
56141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori * you may not use this file except in compliance with the License.
66141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori * You may obtain a copy of the License at
76141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori *
86141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori *      http://www.apache.org/licenses/LICENSE-2.0
96141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori *
106141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori * Unless required by applicable law or agreed to in writing, software
116141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori * distributed under the License is distributed on an "AS IS" BASIS,
126141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
136141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori * See the License for the specific language governing permissions and
146141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori * limitations under the License.
156141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori */
166141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori
176141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Noripackage android.database;
186141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori
196141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori/**
206141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori * This exception is thrown when a CursorWindow couldn't be allocated,
213bc6bbc92cd2095f42039b5aadd0a14d0e5d9230Jeff Brown * most probably due to memory not being available.
223bc6bbc92cd2095f42039b5aadd0a14d0e5d9230Jeff Brown *
233bc6bbc92cd2095f42039b5aadd0a14d0e5d9230Jeff Brown * @hide
246141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori */
253bc6bbc92cd2095f42039b5aadd0a14d0e5d9230Jeff Brownpublic class CursorWindowAllocationException extends RuntimeException {
263bc6bbc92cd2095f42039b5aadd0a14d0e5d9230Jeff Brown    public CursorWindowAllocationException(String description) {
276141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori        super(description);
286141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori    }
296141e13f6e84846ae531358a8bcbf6d2102b1bd4Vasu Nori}
30