unsupportedelementexception.java
来自「MoMEUnit是一个单元测试的J2ME的应用程序xUnit架构实例。这是来自J」· Java 代码 · 共 49 行
JAVA
49 行
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 + =
减小字号Ctrl + -
显示快捷键?