org.geotoolkit.referencing.factory
Class OptionalFactoryOperationException

Object
  extended by Throwable
      extended by Exception
          extended by FactoryException
              extended by OptionalFactoryOperationException
All Implemented Interfaces:
Serializable

public class OptionalFactoryOperationException
extends FactoryException

Thrown when an optional factory operation has been requested, and this operation is not available in the current configuration. For example this exception is thrown when a NadconTransform has been requested but the NADCON files are not installed.

Since:
3.10
Version:
3.10
Author:
Martin Desruisseaux (Geomatys)
See Also:
Serialized Form
Module:
referencing/geotk-referencing (download)    View source code for this class

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

OptionalFactoryOperationException

public OptionalFactoryOperationException()
Construct an exception with no detail message.


OptionalFactoryOperationException

public OptionalFactoryOperationException(String message)
Construct an exception with the specified detail message.

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

OptionalFactoryOperationException

public OptionalFactoryOperationException(Throwable cause)
Construct 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.

OptionalFactoryOperationException

public OptionalFactoryOperationException(String message,
                                         Throwable cause)
Construct an exception with the specified detail message and cause. The cause is the exception thrown in the underlying database (e.g. IOException or SQLException).

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 © 2009-2011 Geotoolkit.org. All Rights Reserved.