Package org.opengis.parameter

Examples of org.opengis.parameter.InvalidParameterTypeException.initCause()


            throw new IllegalStateException(Errors.format(ErrorKeys.MISSING_PARAMETER_$1, name));
        }
        final InvalidParameterTypeException exception =
                new InvalidParameterTypeException(getClassTypeError(), name);
        if (cause != null) {
            exception.initCause(cause);
        }
        throw exception;
    }

    /**
 
View Full Code Here


     */
    private InvalidParameterTypeException invalidType(final ClassCastException cause) {
        final InvalidParameterTypeException exception = new InvalidParameterTypeException(
                Errors.format(ErrorKeys.ILLEGAL_OPERATION_FOR_VALUE_CLASS_$1, getType()),
                getName(descriptor));
        exception.initCause(cause);
        return exception;
    }

    /**
     * Returns the unlocalized operation name. This is different from
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.