提交 e95a1314 编写于 作者: K kohsuke

added the warning method. Not implemented properly yet.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4768 71c3de6d-444a-0410-be80-ed276b4c234a
上级 c4a7d434
......@@ -76,6 +76,14 @@ public abstract class FormFieldValidator {
error(String.format(format,args));
}
public void warning(String message) throws IOException, ServletException {
error(message); // for now
}
public void warning(String format, Object... args) throws IOException, ServletException {
warning(String.format(format,args));
}
/**
* Sends out an HTML fragment that indicates an error.
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册