1d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll/*
2d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll * Copyright (C) 2011 The Android Open Source Project
3d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll *
4d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll * Licensed under the Apache License, Version 2.0 (the "License");
5d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll * you may not use this file except in compliance with the License.
6d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll * You may obtain a copy of the License at
7d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll *
8d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll *      http://www.apache.org/licenses/LICENSE-2.0
9d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll *
10d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll * Unless required by applicable law or agreed to in writing, software
11d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll * distributed under the License is distributed on an "AS IS" BASIS,
12d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll * See the License for the specific language governing permissions and
14d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll * limitations under the License.
15d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll */
16d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll
17d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Mollpackage com.android.sdklib.internal.repository;
18d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll
19d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll/**
20d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll * Exception thrown by {@link DownloadCache} and {@link UrlOpener} when a user
21d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll * cancels an HTTP Basic authentication or NTML authentication dialog.
22d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll */
23d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Mollpublic class CanceledByUserException extends Exception {
24d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll    private static final long serialVersionUID = -7669346110926032403L;
25d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll
26d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll    public CanceledByUserException(String message) {
27d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll        super(message);
28d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll    }
29d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll}
30d99324209809a7ed5cdece1ae1d8a0783eb769eaRaphael Moll
31