public class TransformException extends Exception
TransformException
are thrown by MathTransform
when a coordinate transformation can't be inverted (NoninvertibleTransformException
), when the derivative can't be computed or when a coordinate can't be transformed. It is also thrown when
CoordinateOperationFactory
fails to find a path between two coordinate reference systems.Constructor and Description |
---|
TransformException()
Constructs an exception with no detail message.
|
TransformException(String message)
Constructs an exception with the specified detail message.
|
TransformException(String message,
Throwable cause)
Constructs an exception with the specified detail message and cause.
|
Modifier and Type | Method and Description |
---|---|
MathTransform |
getLastCompletedTransform()
Returns the last transform that either transformed successfuly all coordinates, or filled the
untransformable coordinates with NaN values.
|
void |
setLastCompletedTransform(MathTransform transform)
Sets the last transform that either transformed successfuly all coordinates, or filled the
untransformable coordinates with NaN values.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TransformException()
public TransformException(String message)
message
- The detail message. The detail message is saved for later retrieval by the
Throwable.getMessage()
method.public TransformException(String message, Throwable cause)
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.public MathTransform getLastCompletedTransform()
null
if unknown.public void setLastCompletedTransform(MathTransform transform)
transform
- The last reliable transform.Copyright © 1996–2019 Geotools. All rights reserved.