nosuchauthoritycodeexception.java
来自「GEo 地理操作源代码」· Java 代码 · 共 67 行
JAVA
67 行
/*$************************************************************************************************ ** ** $Id: NoSuchAuthorityCodeException.java,v 1.1 2004/05/06 15:51:50 desruisseaux Exp $ ** ** $Source: /cvsroot/geoapi/src/org/opengis/referencing/NoSuchAuthorityCodeException.java,v $ ** ** Copyright (C) 2003 Open GIS Consortium, Inc. All Rights Reserved. http://www.opengis.org/Legal/ ** *************************************************************************************************/package org.opengis.referencing;/** * Thrown when an {@linkplain AuthorityFactory authority factory} can't find * the requested authority code. * * @author <A HREF="http://www.opengis.org">OpenGIS® consortium</A> * @version 1.0 * * @see org.opengis.referencing.datum.DatumAuthorityFactory * @see org.opengis.referencing.crs.CRSAuthorityFactory */public class NoSuchAuthorityCodeException extends FactoryException { /** * Serial number for interoperability with different versions. */ private static final long serialVersionUID = -1573748311981746573L; /** * The authority. */ private final String authority; /** * The invalid authority code. */ private final String code; /** * Construct an exception with the specified detail message and authority code. * * @param message The detail message. The detail message is saved * for later retrieval by the {@link #getMessage()} method. * @param authority The authority. * @param code The invalid authority code. */ public NoSuchAuthorityCodeException(String message, String authority, String code) { super(message); this.authority = authority; this.code = code; } /** * Returns the authority. */ public String getAuthority() { return authority; } /** * Returns the invalid authority code. */ public String getAuthorityCode() { return code; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?