⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 transformfailedexception.java

📁 一个java 代码生成器
💻 JAVA
字号:
/**
 * Copyright (c) 2002, Siddhartha P. Chandurkar siddhartha@visioncodified.com
 * All rights reserved.
 * Licensed under the Academic Free License version 1.1
 * See the file LICENSE.TXT for details.
 * LICENSE.txt is located in the directory  <install-directory>\Jenerator
 * of your Jenertaor Installation.
 *
 */
package com.jenerator.transformer;


/**
 * TransformFailedException
 * An exception thrown when the transformation of XML into code fails
 * for a particular option, retrieved from the commanc line
 * @author  Siddhartha P. Chandurkar
 * @version 0.9.0
 * @see TransformStrategy
 */

public class TransformFailedException extends Exception {

    //ATTRIBUTES
    private Exception exception;
    //CONSTRUCTOR
    /**
     * Invokes the super class default constructor
     */
    public TransformFailedException() {
        super();
    }//TransformFailedException

    public TransformFailedException(Exception exception) {
        super();
        this.exception = exception;
    }

    /**
     * Overides the <code>toString()</code> method of the java.lang.Object class
     */
    public String toString() {
        return "Could not Transform xml into code \n[ " + exception.toString() + " ]";
    }//toString
}//TransformFailedException

⌨️ 快捷键说明

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