📄 unsupportedelementexception.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 + -