org.geotools.metadata.sql
Class MetadataException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.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 30640 2008-06-12 17:34:32Z acuster $
Author:
Touraïvane, Martin Desruisseaux (IRD)
See Also:
Serialized Form

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

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


Copyright © 1996-2010 Geotools. All Rights Reserved.