Class TransformException

    • Constructor Detail

      • 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, saved for later retrieval by the Throwable.getMessage() method.
      • TransformException

        public TransformException​(Throwable cause)
        Constructs an exception with the specified cause.
        Parameters:
        cause - the cause, saved for later retrieval by the Throwable.getCause() method.
        Since:
        3.1
      • TransformException

        public TransformException​(String message,
                                  Throwable cause)
        Constructs an exception with the specified detail message and cause.
        Parameters:
        message - the detail message, saved for later retrieval by the Throwable.getMessage() method.
        cause - the cause, saved for later retrieval by the Throwable.getCause() method.
    • Method Detail

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