org.geotools.referencing.operation
Class TransformPathNotFoundException

Object
  extended by Throwable
      extended by Exception
          extended by TransformException
              extended by TransformPathNotFoundException
All Implemented Interfaces:
Serializable

public class TransformPathNotFoundException
extends 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
Author:
Martin Desruisseaux (IRD)
See Also:
Serialized Form
Module:

Constructor Summary
TransformPathNotFoundException()
          Constructs an exception with no detail message.
TransformPathNotFoundException(FactoryException cause)
          Constructs an exception with the specified detail message.
TransformPathNotFoundException(String message)
          Constructs an exception with the specified detail message.
TransformPathNotFoundException(String message, FactoryException cause)
          Constructs an exception with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class TransformException
getLastCompletedTransform, setLastCompletedTransform
 
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

TransformPathNotFoundException

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


TransformPathNotFoundException

public TransformPathNotFoundException(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(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(String message,
                                      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 © 1996-2009 Geotools. All Rights Reserved.