strategynotfoundexception.java

来自「一个java 代码生成器」· Java 代码 · 共 37 行

JAVA
37
字号
/**
 * 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;


/**
 * StrategyNotFoundException
 * An exception thrown when an appropriate Concrete strategy is not found
 * for a particular option, retrieved from the commanc line
 * @author  Siddhartha P. Chandurkar
 * @version 0.9.0
 * @see StrategyFactory
 */
public class StrategyNotFoundException extends Exception {

    //CONSTRUCTOR
    /**
     * Invokes the super class default constructor
     */
    public StrategyNotFoundException() {
        super();
    }//StrategyNotFoundException

    /**
     * Overides the <code>toString()</code> method of the java.lang.Object class
     */
    public String toString() {
        return "Could not find a Strategy";
    }//toString
}//StrategyNotFoundException

⌨️ 快捷键说明

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