1069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project/*
2069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project * Copyright 2001-2004 The Apache Software Foundation.
3069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project *
4069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project * Licensed under the Apache License, Version 2.0 (the "License");
5069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project * you may not use this file except in compliance with the License.
6069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project * You may obtain a copy of the License at
7069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project *
8069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project *      http://www.apache.org/licenses/LICENSE-2.0
9069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project *
10069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project * Unless required by applicable law or agreed to in writing, software
11069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project * distributed under the License is distributed on an "AS IS" BASIS,
12069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project * See the License for the specific language governing permissions and
14069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project * limitations under the License.
15069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project */
16069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project
17069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Projectpackage org.apache.commons.codec;
18069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project
19069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project/**
20069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project * Thrown when there is a failure condition during the encoding process.  This
21069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project * exception is thrown when an Encoder encounters a encoding specific exception
22069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project * such as invalid data, inability to calculate a checksum, characters outside of the
23069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project * expected range.
24069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project *
25069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project * @author Apache Software Foundation
26069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project * @version $Id: EncoderException.java,v 1.10 2004/02/29 04:08:31 tobrien Exp $
27d42abb2fd917184764daf22f5f299e848b8701d7Narayan Kamath *
28d42abb2fd917184764daf22f5f299e848b8701d7Narayan Kamath * @deprecated Please use {@link java.net.URL#openConnection} instead.
29d42abb2fd917184764daf22f5f299e848b8701d7Narayan Kamath *     Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a>
30d42abb2fd917184764daf22f5f299e848b8701d7Narayan Kamath *     for further details.
31069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project */
32d42abb2fd917184764daf22f5f299e848b8701d7Narayan Kamath@Deprecated
33069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Projectpublic class EncoderException extends Exception {
34069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project
35069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project    /**
36069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project     * Creates a new instance of this exception with an useful message.
37069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project     *
38069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project     * @param pMessage a useful message relating to the encoder specific error.
39069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project     */
40069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project    public EncoderException(String pMessage) {
41069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project        super(pMessage);
42069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project    }
43069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project}
44069490a5ca2fd1988d29daf45d892f47ad665115The Android Open Source Project
45