org.geotools.referencing.operation
Class TransformPathNotFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.opengis.referencing.operation.TransformException
              extended byorg.geotools.referencing.operation.TransformPathNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class TransformPathNotFoundException
extends org.opengis.referencing.operation.TransformException

Thrown when a transformation can't be performed because no path from source CRS to target CRS has been found. This exception usually wraps an OperationNotFoundException thrown by an coordinate operation factory. This exception is sometime used in order to collapse a

 throws FactoryException, TransformException
 
clause (in method signature) into a single
 throws TransformException
 
clause, i.e. in order to hide the factory step into a more general transformation processus from the API point of view.

Since:
2.2
Version:
$Id: TransformPathNotFoundException.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux
See Also:
Serialized Form

Constructor Summary
TransformPathNotFoundException()
          Constructs an exception with no detail message.
TransformPathNotFoundException(org.opengis.referencing.FactoryException cause)
          Constructs an exception with the specified detail message.
TransformPathNotFoundException(java.lang.String message)
          Constructs an exception with the specified detail message.
TransformPathNotFoundException(java.lang.String message, org.opengis.referencing.FactoryException cause)
          Constructs an exception with the specified detail message and 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

TransformPathNotFoundException

public TransformPathNotFoundException()
Constructs an exception with no detail message.


TransformPathNotFoundException

public TransformPathNotFoundException(org.opengis.referencing.FactoryException cause)
Constructs an exception with the specified detail message.

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

TransformPathNotFoundException

public TransformPathNotFoundException(java.lang.String message)
Constructs 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.

TransformPathNotFoundException

public TransformPathNotFoundException(java.lang.String message,
                                      org.opengis.referencing.FactoryException cause)
Constructs an exception with the specified detail message and cause.

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 © GeoTools. All Rights Reserved.