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

📄 parameterexception.java

📁 一个非常著名的网格模拟器,能够运行网格调度算法!
💻 JAVA
字号:
/* * ** Network and Service Differentiation Extensions to GridSim 3.0 ** * * Gokul Poduval & Chen-Khong Tham * Computer Communication Networks (CCN) Lab * Dept of Electrical & Computer Engineering * National University of Singapore * October 2004 * * Licence: GPL - http://www.gnu.org/copyleft/gpl.html * * ParameterException.java - Thrown for illegal parameters * */package gridsim;/** * This exception is to report bad or invalid parameters given during * constructor. * * @invariant $none * @since GridSim Toolkit 3.1 * @author Gokul Poduval & Chen-Khong Tham, National University of Singapore */public class ParameterException extends Exception{    private String message_;    /**     * Constructs a new exception with <tt>null</tt> as its detail message.     * @pre $none     * @post $none     */    public ParameterException() {        message_ = null;    }    /**     * Creates a new ParameterException object.     * @param message   an error message     * @pre $none     * @post $none     */    public ParameterException(String message) {        this.message_ = message;    }    /**     * Returns an error message of this object     * @return an error message     * @pre $none     * @post $none     */    public String toString() {        return message_;    }} // end class

⌨️ 快捷键说明

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