factoryexception.java

来自「esri的ArcGIS Server超级学习模板程序(for java)」· Java 代码 · 共 30 行

JAVA
30
字号
package com.esri.solutions.jitk.common.agslocal;


/**
 * Custom exception that extends {@link Exception} that will be used
 * when creating an {@link IServerContext} object.
 */
@SuppressWarnings("serial")
public class FactoryException extends Exception {
    /**
     * Constructor that initializes the instance with the given
     * <code>message</code>.
     *
     * @param message {@link String} exception message.
     */
    public FactoryException(String message) {
        super(message);
    }

    /**
     * Constructor that initializes the instance with the given
     * <code>ex</code> by calling super(ex).
     *
     * @param ex
     */
    public FactoryException(Exception ex) {
        super(ex);
    }
}

⌨️ 快捷键说明

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