org.opengis.layer
Class LayerException

Object
  extended by Throwable
      extended by Exception
          extended by IOException
              extended by LayerException
All Implemented Interfaces:
Serializable

public class LayerException
extends IOException

Throws when a layer source failed to create a layer.

Since:
GeoAPI 2.0
Version:
Implementation specification 1.3
See Also:
Serialized Form

Constructor Summary
LayerException()
          Creates an exception with no message.
LayerException(String message)
          Creates an exception with the specified message.
LayerException(String message, Throwable cause)
          Creates an exception with the specified message.
LayerException(Throwable cause)
          Creates an exception with the specified 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

LayerException

public LayerException()
Creates an exception with no message.


LayerException

public LayerException(String message)
Creates an exception with the specified message.

Parameters:
message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

LayerException

public LayerException(Throwable cause)
Creates an exception with the specified cause.

Parameters:
cause - The cause for this exception. The cause is saved for later retrieval by the Throwable.getCause() method.

LayerException

public LayerException(String message,
                      Throwable cause)
Creates an exception with the specified message.

Parameters:
message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
cause - The cause for this exception. The cause is saved for later retrieval by the Throwable.getCause() method.


Copyright © 1994-2008 Open Geospatial Consortium. All Rights Reserved.