org.geotools.metadata.sql
Class MetadataException

Object
  extended by Throwable
      extended by Exception
          extended by RuntimeException
              extended by MetadataException
All Implemented Interfaces:
Serializable

public class MetadataException
extends RuntimeException

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

Since:
2.1
Author:
Touraïvane, Martin Desruisseaux (IRD)
See Also:
Serialized Form

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

MetadataException

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

Parameters:
message - The detail message.

MetadataException

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

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


Copyright © 1996-2014 Geotools. All Rights Reserved.