TransformException (Apache SIS 1.6 API) JavaScript is disabled on your browser.     Skip navigation links Overview Class Use Tree New Deprecated Index Search Help org.opengis.geoapi org.opengis.referencing.operation TransformException Contents  Description Constructor Summary Method Summary Constructor Details TransformException() TransformException(String) TransformException(String, Throwable) Method Details getLastCompletedTransform() setLastCompletedTransform(MathTransform) Hide sidebar  Show sidebar Class TransformException Object Throwable Exception TransformException All Implemented Interfaces: Serializable Direct Known Subclasses: Gazetteer­Exception, Noninvertible­Transform­Exception, Not­Spatio­Temporal­Exception public class TransformException extends Exception Common superclass for a number of transformation-related exceptions. Transform­Exception are thrown by Math­Transform when a coordinate transformation cannot be inverted (Noninvertible­Transform­Exception), when the derivative cannot be computed or when a coordinate cannot be transformed. It is also thrown when Coordinate­Operation­Factory fails to find a path between two coordinate reference systems. Since: 1.0 See Also: Serialized Form Constructor Summary Constructors Constructor Description Transform­Exception() Constructs an exception with no detail message. Transform­Exception(String message) Constructs an exception with the specified detail message. Transform­Exception(String message, Throwable cause) Constructs an exception with the specified detail message and cause. Method Summary All MethodsInstance MethodsConcrete Methods Modifier and Type Method Description Math­Transform get­Last­Completed­Transform() Returns the last transform that either transformed successfully all coordinates, or filled the untransformable coordinates with NaN values. void set­Last­Completed­Transform(Math­Transform transform) Sets the last transform that either transformed successfully all coordinates, or filled the untransformable coordinates with NaN values. Methods inherited from class Throwable add­Suppressed, fill­In­Stack­Trace, get­Cause, get­Localized­Message, get­Message, get­Stack­Trace, get­Suppressed, init­Cause, print­Stack­Trace, print­Stack­Trace, print­Stack­Trace, set­Stack­Trace, to­String Methods inherited from class Object clone, equals, finalize, get­Class, hash­Code, notify, notify­All, wait, wait, wait Constructor Details TransformException public TransformException() Constructs an exception with no detail message. TransformException public TransformException(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​.get­Message() method. TransformException public TransformException(String message, Throwable 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​.get­Message() method. cause - The cause for this exception. The cause is saved for later retrieval by the Throwable​.get­Cause() method. Method Details getLastCompletedTransform public MathTransform getLastCompletedTransform() Returns the last transform that either transformed successfully all coordinates, or filled the untransformable coordinates with NaN values. This information is useful in the context of concatenated transforms. May be null if unknown. Returns: The last reliable transform. Since: 2.2 setLastCompletedTransform public void setLastCompletedTransform(MathTransform transform) Sets the last transform that either transformed successfully all coordinates, or filled the untransformable coordinates with NaN values. Parameters: transform - The last reliable transform. Since: 2.2