incompatibleoperationexception.java

来自「GEo 地理操作源代码」· Java 代码 · 共 45 行

JAVA
45
字号
/*$************************************************************************************************ ** ** $Id: IncompatibleOperationException.java,v 1.1 2004/05/06 15:51:51 desruisseaux Exp $ ** ** $Source: /cvsroot/geoapi/src/org/opengis/referencing/operation/IncompatibleOperationException.java,v $ ** ** Copyright (C) 2003 Open GIS Consortium, Inc. All Rights Reserved. http://www.opengis.org/Legal/ ** *************************************************************************************************/package org.opengis.referencing.operation;/** * Thrown when an operation is applied in a manner inconsistent with one or both of * two particular CRS objects.  * * @author <A HREF="http://www.opengis.org">OpenGIS&reg; consortium</A> * @version 2.0 */public class IncompatibleOperationException extends Exception {    /**     * The invalid Operation name.     */    private final String operationName;    /**     * Creates an exception with the specified message and operation name.     *     * @param  message The detail message. The detail message is saved for      *         later retrieval by the {@link #getMessage()} method.     * @param  operationName The invalid operation name.     */    public IncompatibleOperationException(String message, String operationName) {        super(message);        this.operationName = operationName;    }    /**     * Returns the invalid Operation name.     */    public String getOperationName() {        return operationName;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?