org.geotoolkit.image.io
Class ImageNameNotFoundException

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

public class ImageNameNotFoundException
extends IIOException

Thrown by NamedImageStore implementations when no image is found for a given name. This exception may occur at NamedImageStore.setImageNames(String[]) invocation time, or later - when a ImageReader or ImageWriter method expecting an image index argument is invoked.

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

Constructor Summary
ImageNameNotFoundException(String message)
          Constructs a new exception with the specified detail message.
ImageNameNotFoundException(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

ImageNameNotFoundException

public ImageNameNotFoundException(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.

ImageNameNotFoundException

public ImageNameNotFoundException(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.