Class TransformPathNotFoundException
Object
Throwable
Exception
TransformException
TransformPathNotFoundException
- All Implemented Interfaces:
Serializable
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
clause (in method signature) into a singlethrows FactoryException, TransformException
clause, i.e. in order to hide the factory step into a more general transformation processus from the API point of view.throws TransformException
- Since:
- 2.2
- Author:
- Martin Desruisseaux (IRD)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an exception with no 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.Constructs an exception with the specified detail message. -
Method Summary
Methods inherited from class TransformException
fillInStackTrace, getLastCompletedTransform, runWithoutStackTraces, setLastCompletedTransform
Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransformPathNotFoundException
public TransformPathNotFoundException()Constructs an exception with no detail message. -
TransformPathNotFoundException
Constructs an exception with the specified detail message.- Parameters:
cause
- The cause for this exception. The cause is saved for later retrieval by theThrowable.getCause()
method.
-
TransformPathNotFoundException
Constructs an exception with the specified detail message.- Parameters:
message
- The detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
TransformPathNotFoundException
Constructs an exception with the specified detail message and cause.- Parameters:
message
- The detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.cause
- The cause for this exception. The cause is saved for later retrieval by theThrowable.getCause()
method.
-