xmlexception.java

来自「自动生成JAVA-Struts网站的程序」· Java 代码 · 共 38 行

JAVA
38
字号
//---------------------------------------------------------------------------------// $Id: XMLException.java,v 1.1 2002/09/29 07:20:58 javanovic Exp $// $Source: /cvsroot/strutsgenerator/StrutsGenerator/src/com/javanovic/karapansapi/xml/XMLException.java,v $//// Copyright (c) 2001 IT+ (http://opensource.itplus.dk)// This program is released under the GNU General Public License version 2 or later// All rights reserved//---------------------------------------------------------------------------------package com.javanovic.karapansapi.xml;/** * XML exception */public class XMLException extends Exception {  public Exception detail;    /**     * Construct an exception with a reason     *     * @param reason Text containing the reason     */    public XMLException(String reason) {	super(reason);    }  /**   * Construct an exception with a reason and an ##   *   * @param reason Text containing the reason   * @param detail A nested exception.   */  public XMLException(String reason, Exception detail) {    this(reason);    this.detail = detail;  }}

⌨️ 快捷键说明

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