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

📄 controllerexception.java

📁 java实现的P2P多agent中间件
💻 JAVA
字号:
/*
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published
 * by the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * Copyright (C) 2000 CSELT S.p.A. 
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE and no warranty
 * that the program does not infringe the Intellectual Property rights of
 * a third party.  See the GNU Lesser General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA  02111-1307, USA.
 *
 */

package jade.wrapper;

/**
 * This exception class is thrown when an operation fails on any
 * of the agent controller methods.
   <br>
   <b>NOT available in MIDP</b>
   <br>
 */
public class ControllerException extends Exception {

	/**
	 * Creates a new exception object, with a default detail message.
	 */
	public ControllerException() {
		super("Agent error.");
	}

	/**
	 * Creates a new exception object, with a given detail message.
	 * @param message The detail message for the new exception object.
	 */
	public ControllerException(String message) {
		super(message);
	}

	/**
	 * Creates a new exception object, extracting message from another throwable.
	 * @param aThrowable The original exception or error.
	 */
	public ControllerException(Throwable aThrowable) {
		super(aThrowable.getMessage());
	}

}

⌨️ 快捷键说明

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