workrequestssendexception.java

来自「jGAp 遗传算法 提不错的一款软件 最新的更新」· Java 代码 · 共 34 行

JAVA
34
字号
package org.jgap.distr.grid.common;

import org.jgap.distr.grid.gp.*;

/**
 * Exception when sending work requests. Stores the work requests, for which
 * sending failed.
 *
 * @author Klaus Meffert
 * @since 3.3.3
 */
public class WorkRequestsSendException
    extends Exception {
  private JGAPRequestGP[] m_workRequests;

  public WorkRequestsSendException() {
    super();
  }

  public WorkRequestsSendException(Exception a_ex) {
    super(a_ex);
  }

  public WorkRequestsSendException(Exception a_ex,
                                   JGAPRequestGP[] a_workRequests) {
    super(a_ex);
    m_workRequests = a_workRequests;
  }

  public JGAPRequestGP[] getWorkRequests() {
    return m_workRequests;
  }
}

⌨️ 快捷键说明

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