agentexception.java

来自「SRI international 发布的OAA框架软件」· Java 代码 · 共 54 行

JAVA
54
字号
/* $Id: AgentException.java,v 1.1 2004/02/05 23:02:22 giuli Exp $
 * @(#)AgentException.java  02/2004
 *
 * The contents of this file are subject to the OAA Community Research
 * License Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License
 * at http://www.ai.sri.com/~oaa/.  Software distributed under the License
 * is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
 * express or implied. See the License for the specific language governing
 * rights and limitations under the License.  Portions of the software are
 * Copyright (c) SRI International, 1999.  All rights reserved.
 * "OAA" is a registered trademark, and "Open Agent Architecture" is a
 * trademark, of SRI International, a California nonprofit public benefit
 * corporation.
*
*/

package com.sri.oaa2.agentlib;

/**
 * Instances are thrown when OAA errors are detected.
 */
public class AgentException extends Exception {

    /**
     * Constructs a new exception with null as its detail message.
     */
    public AgentException() {
        super();
    }

    /**
     * Constructs a new exception with the specified detail message.
     */
    public AgentException(String message) {
        super(message);
    }

    /**
     * Constructs a new exception with the specified detail message
     * and Throwable instance.
     */
    public AgentException(String message, Throwable throwable) {
        super(message, throwable);
    }

    /**
     * Constructs a new exception with the specified Throwable instance.
     */
    public AgentException(Throwable throwable) {
        super(throwable);
    }
}

⌨️ 快捷键说明

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