org.geotoolkit.image.io
Class UnsupportedImageFormatException

Object
  extended by Throwable
      extended by Exception
          extended by IOException
              extended by IIOException
                  extended by UnsupportedImageFormatException
All Implemented Interfaces:
Serializable

public class UnsupportedImageFormatException
extends IIOException

Thrown by XImageIO when the requested image format is not available in the Image I/O registry. This exception may also be thrown if the file format is basically a container, and the encoding of data inside the container is not supported (for example a data type or a compression algorithm).

Since:
3.08
Version:
3.08
Author:
Martin Desruisseaux (Geomatys)
See Also:
Serialized Form
Module:
coverage/geotk-coverageio (download)    View source code for this class

Constructor Summary
UnsupportedImageFormatException(String message)
          Constructs a new exception with the specified detail message.
UnsupportedImageFormatException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsupportedImageFormatException

public UnsupportedImageFormatException(String message)
Constructs a new exception with the specified detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

Parameters:
message - The details message.

UnsupportedImageFormatException

public UnsupportedImageFormatException(String message,
                                       Throwable cause)
Constructs a new exception with the specified detail message and cause. The cause is saved for later retrieval by the Throwable.getCause() method.

Parameters:
message - The details message.
cause - The cause.


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.