コード例 #1
0
  /*
   * (non-Javadoc)
   *
   * @see org.opengis.referencing.operation.MathTransform1D#transform(double)
   */
  public double transform(double value) {

    throw new UnsupportedOperationException(
        Errors.format(ErrorKeys.UNSUPPORTED_OPERATION_$1, "transform"));
  }
コード例 #2
0
  /*
   * (non-Javadoc)
   *
   * @see org.opengis.referencing.operation.MathTransform1D#derivative(double)
   */
  public double derivative(double value) throws TransformException {

    throw new UnsupportedOperationException(
        Errors.format(ErrorKeys.UNSUPPORTED_OPERATION_$1, "inverse"));
  }
コード例 #3
0
  /*
   * (non-Javadoc)
   *
   * @see org.opengis.referencing.operation.MathTransform#isIdentity()
   */
  public boolean isIdentity() {

    throw new UnsupportedOperationException(
        Errors.format(ErrorKeys.UNSUPPORTED_OPERATION_$1, "isIdentity"));
  }
コード例 #4
0
 /**
  * Makes sure that an argument is non-null.
  *
  * @param name Argument name.
  * @param object User argument.
  * @throws IllegalArgumentException if {@code object} is null.
  */
 private static void ensureNonNull(final String name, final Object object)
     throws IllegalArgumentException {
   if (object == null) {
     throw new IllegalArgumentException(Errors.format(ErrorKeys.NULL_ARGUMENT_$1, name));
   }
 }
コード例 #5
0
 /*
  * (non-Javadoc)
  *
  * @see org.opengis.referencing.operation.MathTransform#inverse()
  */
 public MathTransformation inverseTransform() {
   throw new UnsupportedOperationException(
       Errors.format(ErrorKeys.UNSUPPORTED_OPERATION_$1, "inverse"));
 }