illegalqueuecapacityexception.java

来自「JAVA版的蚂蚁算法(Ant Colony Optimization Algor」· Java 代码 · 共 32 行

JAVA
32
字号
package dk.itu.nulx30.networkModel.exceptions;

/**
 * Class <code>IllegalQueueCapacityException</code> is thrown in the class
 * <code>RouterQueue</code>. An <code>IllegalQueueCapacityException</code>
 * is thrown if the new capacity of a router is smaller than the current
 * capacity, since this results in a undefined package loss
 *
 * @author  Mikkel Bundgaard
 * @author  Troels C. Damgaard
 * @author  Federico Decara
 * @author  Jacob W. Winther
 *
 * @see dk.itu.nulx30.networkModel.RouterQueue
 */
public class IllegalQueueCapacityException extends Exception {

  /**
   * Public constructor, that creates a <code>IllegalQueueCapacityException</code>
   * with a string argument, which is a string representation of the exception.
   *
   * @param thrower string representation of the exception
   */
  public IllegalQueueCapacityException( String thrower ) {
    super( thrower );
  }
}




⌨️ 快捷键说明

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