| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | /* | 
 | 2 |  *  Licensed to the Apache Software Foundation (ASF) under one or more | 
 | 3 |  *  contributor license agreements.  See the NOTICE file distributed with | 
 | 4 |  *  this work for additional information regarding copyright ownership. | 
 | 5 |  *  The ASF licenses this file to You under the Apache License, Version 2.0 | 
 | 6 |  *  (the "License"); you may not use this file except in compliance with | 
 | 7 |  *  the License.  You may obtain a copy of the License at | 
 | 8 |  * | 
 | 9 |  *     http://www.apache.org/licenses/LICENSE-2.0 | 
 | 10 |  * | 
 | 11 |  *  Unless required by applicable law or agreed to in writing, software | 
 | 12 |  *  distributed under the License is distributed on an "AS IS" BASIS, | 
 | 13 |  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
 | 14 |  *  See the License for the specific language governing permissions and | 
 | 15 |  *  limitations under the License. | 
 | 16 |  */ | 
 | 17 | /** | 
 | 18 |  * @author Rustem V. Rafikov | 
 | 19 |  * @version $Revision: 1.3 $ | 
 | 20 |  */ | 
 | 21 |  | 
 | 22 | package javax.imageio; | 
 | 23 |  | 
 | 24 | import java.io.IOException; | 
 | 25 |  | 
 | 26 | /** | 
 | 27 |  * The IIOException class indicates errors in reading/writing operations. | 
 | 28 |  *  | 
 | 29 |  * @since Android 1.0 | 
 | 30 |  */ | 
 | 31 | public class IIOException extends IOException { | 
 | 32 |  | 
 | 33 |     /** | 
 | 34 |      * The Constant serialVersionUID. | 
 | 35 |      */ | 
 | 36 |     private static final long serialVersionUID = -3216210718638985251L; | 
 | 37 |  | 
 | 38 |     /** | 
 | 39 |      * Instantiates a new IIOException. | 
 | 40 |      *  | 
 | 41 |      * @param message | 
 | 42 |      *            the detailed message. | 
 | 43 |      */ | 
 | 44 |     public IIOException(String message) { | 
 | 45 |         super(message); | 
 | 46 |     } | 
 | 47 |  | 
 | 48 |     /** | 
 | 49 |      * Instantiates a new IIOException. | 
 | 50 |      *  | 
 | 51 |      * @param message | 
 | 52 |      *            the detailed message. | 
 | 53 |      * @param cause | 
 | 54 |      *            the cause of this exception. | 
 | 55 |      */ | 
 | 56 |     public IIOException(String message, Throwable cause) { | 
 | 57 |         super(message); | 
 | 58 |         initCause(cause); | 
 | 59 |     } | 
 | 60 | } |