1 /* 2 * @(#)ImageFormatException.java 1.8 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 /* ******************************************************************** 9 ********************************************************************** 10 ********************************************************************** 11 *** COPYRIGHT (c) Eastman Kodak Company, 1997 *** 12 *** As an unpublished work pursuant to Title 17 of the United *** 13 *** States Code. All rights reserved. *** 14 ********************************************************************** 15 ********************************************************************** 16 **********************************************************************/ 17 18 package com.sun.image.codec.jpeg; 19 20 /** 21 * Signals that an Image Format exception of some sort has occurred. 22 * <p> 23 * Note that the classes in the com.sun.image.codec.jpeg package are not 24 * part of the core Java APIs. They are a part of Sun's JDK and JRE 25 * distributions. Although other licensees may choose to distribute these 26 * classes, developers cannot depend on their availability in non-Sun 27 * implementations. We expect that equivalent functionality will eventually 28 * be available in a core API or standard extension. 29 * <p> 30 * 31 * @author Tom Sausner 32 * @see JPEGImageEncoder 33 * @see JPEGImageDecoder 34 * @since JDK1.2 35 */ 36 public 37 class ImageFormatException extends RuntimeException { 38 /** 39 * Constructs an <code>ImageFormatException</code> with no detail message. 40 */ 41 public ImageFormatException() { 42 super(); 43 } 44 45 /** 46 * Constructs an <code>ImageFormatException</code> with the specified 47 * detailed message. 48 * 49 * @param s the message. 50 */ 51 public ImageFormatException(String s) { 52 super(s); 53 } 54 } 55