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 anOperationNotFoundException
thrown by an coordinate operation factory. This exception is sometime used in order to collapse athrows FactoryException, TransformException
throws TransformException
- Since:
- 2.2
- Author:
- Martin Desruisseaux (IRD)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransformPathNotFoundException()
Constructs 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.TransformPathNotFoundException(FactoryException 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 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 theThrowable.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 theThrowable.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 theThrowable.getMessage()
method.cause
- The cause for this exception. The cause is saved for later retrieval by theThrowable.getCause()
method.
-
-