servicesexception.java

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

JAVA
52
字号
package com.esri.solutions.jitk.services.common;


/**
 * Exception class to indicate an error condition within the Services module.
 * This exception class can be subclassed as necessary.
 */
public class ServicesException extends Exception {
	
	/**
	 * Serial Version ID
	 */
	private static final long serialVersionUID = -3037236327992570967L;

	/**
	 * Constructs a new <code>ServicesException</code> with no indication of
	 * cause or a message.
	 */
	public ServicesException() {
		super();
	}

	/**
	 * Constructs a new <code>ServicesException</code> with the specified message
	 * and cause.
	 * 
	 * @param message	Message
	 * @param cause		Exception that caused this exception to be created and thrown.
	 */
	public ServicesException(String message, Throwable cause) {
		super(message, cause);		
	}

	/**
	 * Constructs a new <code>ServicesException</code> with the specified message.
	 * 
	 * @param message	Message
	 */
	public ServicesException(String message) {
		super(message);
	}

	/**
	 * Constructs a new <code>ServicesException</code> with the specified cause.
	 * 
	 * @param cause		Exception that caused this exception to be created and thrown.
	 */
	public ServicesException(Throwable cause) {
		super(cause);
	}
}

⌨️ 快捷键说明

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