Class TransformPathNotFoundException

Object
Throwable
Exception
TransformException
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:
  • Constructor Details

    • 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.