public class ImageFormatException extends RuntimeException
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.
JPEGImageEncoder,
JPEGImageDecoder,
序列化表格| 构造器和说明 |
|---|
ImageFormatException()
Constructs an
ImageFormatException with no detail message. |
ImageFormatException(String s)
Constructs an
ImageFormatException with the specified
detailed message. |
public ImageFormatException()
ImageFormatException with no detail message.public ImageFormatException(String s)
ImageFormatException with the specified
detailed message.s - the message.Copyright © 2022. All rights reserved.