/* * @(#)ImageFormatException.java 1.8 03/12/19 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /* ******************************************************************** ********************************************************************** ********************************************************************** *** COPYRIGHT (c) Eastman Kodak Company, 1997 *** *** As an unpublished work pursuant to Title 17 of the United *** *** States Code. All rights reserved. *** ********************************************************************** ********************************************************************** **********************************************************************/ package com.sun.image.codec.jpeg; /** * Signals that an Image Format exception of some sort has occurred. *

* Note that the classes in the com.sun.image.codec.jpeg package are not * part of the core Java APIs. They are a part of Sun's JDK and JRE * distributions. Although other licensees may choose to distribute these * classes, developers cannot depend on their availability in non-Sun * implementations. We expect that equivalent functionality will eventually * be available in a core API or standard extension. *

* * @author Tom Sausner * @see JPEGImageEncoder * @see JPEGImageDecoder * @since JDK1.2 */ public class ImageFormatException extends RuntimeException { /** * Constructs an ImageFormatException with no detail message. */ public ImageFormatException() { super(); } /** * Constructs an ImageFormatException with the specified * detailed message. * * @param s the message. */ public ImageFormatException(String s) { super(s); } }