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

📄 unsupportedelementexception.java

📁 MoMEUnit是一个单元测试的J2ME的应用程序xUnit架构实例。这是来自JUnit框架
💻 JAVA
字号:
package org.momeunit.ant.taskdefs;/** * Exception thrown when unsupported element is encountered. *  * @author Sergio Morozov * @version 1.1.2 */public class UnsupportedElementException extends    org.apache.tools.ant.UnsupportedElementException{  private static final long serialVersionUID = -798107572086815589L;  /**   * Name of element that doesn't support offending nested element.   */  private String element;  /**   * Instantiates UnsupportedElementException with given offending element and   * super element.   *    * @param element   *          name of not supported element.   * @param superElement   *          name of element that doesn't support offending nested element.   * @since 1.1   */  public UnsupportedElementException(String element, String superElement)  {    super("The <" + (superElement != null ? superElement : "unknown")        + "> type doesn't support the nested \""        + (element != null ? element : "unknown") + "\" element.", element);    this.element = superElement;  }  /**   * Returns name of element that doesn't support offending nested element.   *    * @return name of super element.   * @since 1.1   */  public String getSuperElement()  {    return element;  }}

⌨️ 快捷键说明

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