⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nosuchenumerationexception.java

📁 GEo 地理操作源代码
💻 JAVA
字号:
/************************************************************************************************** ** ** $Id: NoSuchEnumerationException.java,v 1.2 2004/03/02 03:14:42 gregreynolds Exp $ ** ** $Source: /cvsroot/geoapi/src/org/opengis/util/NoSuchEnumerationException.java,v $ ** ** Copyright (C) 2003 Open GIS Consortium, Inc. All Rights Reserved. http://www.opengis.org/Legal/ ** *************************************************************************************************/package org.opengis.util;/** * Exception that is thrown when an invalid enumeration lookup is performed * in the {@link SimpleEnumerationType} class. * * @author <A HREF="http://www.opengis.org">OpenGIS&reg; consortium</A> * @version $Revision: 1.2 $, $Date: 2004/03/02 03:14:42 $ */public class NoSuchEnumerationException extends Exception {    /**     * The invalid value.     */    private final int value;        /**     * Constructs an exception with the given invalid value.     *     * @param value The invalid value.     * @revisit Localize the error message.     */    public NoSuchEnumerationException(final int value) {        super("No enumeration exists for the value " + value);        this.value = value;    }        /**     * Returns the invalid value.     *     * @return the invalid value.     */    public int getValue() {        return value;    }}

⌨️ 快捷键说明

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