timeoutexception.java
来自「人工智能中Agent开发包。多 Agent 系统是处理自治 Agent 之间知识」· Java 代码 · 共 31 行
JAVA
31 行
package javax.agent.service;
import javax.agent.*;
/**
* Thrown when the time has passed over a specifed time-out.
*/
public class TimeoutException extends JasException {
/**
* Creates a TimeoutException instance with no messsages.
*/
public TimeoutException() {
super();
}
/**
* Creates a TimeoutException instance with the specified message.
*/
public TimeoutException(String msg) {
super(msg);
}
/**
* Creates a TimeoutException instance with specifying the time in milliseconds.
*/
public TimeoutException(long millis) {
this((new Long(millis)).toString());
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?