org.geotools.metadata.sql
Class MetadataException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.geotools.metadata.sql.MetadataException
All Implemented Interfaces:
java.io.Serializable

public class MetadataException
extends java.lang.RuntimeException

Throws when a metadata method failed. The cause for this exception is typically a SQLException.

Since:
2.1
Version:
$Id: MetadataException.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Toura?vane, Martin Desruisseaux
See Also:
Serialized Form

Constructor Summary
MetadataException(java.lang.String message)
          Constructs an instance of with the specified detail message.
MetadataException(java.lang.String message, java.lang.Exception cause)
          Constructs an instance of with the specified cause.
 
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

MetadataException

public MetadataException(java.lang.String message)
Constructs an instance of with the specified detail message.

Parameters:
message - The detail message.

MetadataException

public MetadataException(java.lang.String message,
                         java.lang.Exception cause)
Constructs an instance of with the specified cause.

Parameters:
message - The detail message.
cause - The cause of this exception.


Copyright © GeoTools. All Rights Reserved.