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

📄 factoryexception.java

📁 GEo 地理操作源代码
💻 JAVA
字号:
/*$************************************************************************************************ ** ** $Id: FactoryException.java,v 1.1 2004/05/06 15:51:50 desruisseaux Exp $ ** ** $Source: /cvsroot/geoapi/src/org/opengis/referencing/FactoryException.java,v $ ** ** Copyright (C) 2003 Open GIS Consortium, Inc. All Rights Reserved. http://www.opengis.org/Legal/ ** *************************************************************************************************/package org.opengis.referencing;/** * Thrown when a {@linkplain Factory factory} can't create an instance * of the requested object. It may be a failure to create a * {@linkplain org.opengis.referencing.datum.Datum datum}, a * {@linkplain org.opengis.referencing.cs.CoordinateSystem coordinate system}, a * {@linkplain org.opengis.referencing.ReferenceSystem reference system} or a * {@linkplain org.opengis.referencing.operation.CoordinateOperation coordinate operation}. * * If the failure is caused by an illegal authority code, then the actual exception should * be {@link NoSuchAuthorityCodeException}. Otherwise, if the failure is caused by some * error in the underlying database (e.g. {@link java.io.IOException} or * {@link java.sql.SQLException}), then this cause should be specified. * * @author <A HREF="http://www.opengis.org">OpenGIS&reg; consortium</A> * @version 1.0 * * @see org.opengis.referencing.operation.CoordinateOperationFactory */public class FactoryException extends Exception {    /**     * Serial number for interoperability with different versions.     */    private static final long serialVersionUID = -3414250034883898315L;    /**     * Construct an exception with no detail message.     */    public FactoryException() {    }    /**     * Construct an exception with the specified detail message.     *     * @param  message The detail message. The detail message is saved     *         for later retrieval by the {@link #getMessage()} method.     */    public FactoryException(String message) {        super(message);    }    /**     * Construct an exception with the specified cause. The detail message     * is copied from the cause {@linkplain Exception#getLocalizedMessage     * localized message}.     *     * @param  cause The cause for this exception. The cause is saved     *         for later retrieval by the {@link #getCause()} method.     */    public FactoryException(Exception cause) {        super(cause.getLocalizedMessage(), cause);    }    /**     * Construct an exception with the specified detail message and cause.     * The cause is the exception thrown in the underlying database     * (e.g. {@link java.io.IOException} or {@link java.sql.SQLException}).     *     * @param  message The detail message. The detail message is saved     *         for later retrieval by the {@link #getMessage()} method.     * @param  cause The cause for this exception. The cause is saved     *         for later retrieval by the {@link #getCause()} method.     */    public FactoryException(String message, Throwable cause) {        super(message);    }}

⌨️ 快捷键说明

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