站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java 2 SDK v1.4.2, Java 2 SDK 英文文档

ImageFormatException (Other API Bundled with the Java 2 SDK) - Java 2 SDK v1.4.2, Java 2 SDK 英文文档


com.sun.image.codec.jpeg
Class ImageFormatException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.sun.image.codec.jpeg.ImageFormatException
All Implemented Interfaces:
Serializable

public class ImageFormatException
extends RuntimeException

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.

Since:
JDK1.2
See Also:
JPEGImageEncoder, JPEGImageDecoder, Serialized Form

Constructor Summary
ImageFormatException()
          Constructs an ImageFormatException with no detail message.
ImageFormatException(String s)
          Constructs an ImageFormatException with the specified detailed message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageFormatException

public ImageFormatException()
Constructs an ImageFormatException with no detail message.


ImageFormatException

public ImageFormatException(String s)
Constructs an ImageFormatException with the specified detailed message.

Parameters:
s - the message.


Submit a bug or feature
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2003 Sun Microsystems, Inc. 4150 Network Circle
Santa Clara, California, 95054, U.S.A. All Rights Reserved.