[14627] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
| 2 | <!--NewPage-->
|
---|
| 3 | <HTML>
|
---|
| 4 | <HEAD>
|
---|
| 5 | <!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:15 NZST 2007 -->
|
---|
| 6 | <TITLE>
|
---|
| 7 | UnsupportedAttributeException (Apache Ant API)
|
---|
| 8 | </TITLE>
|
---|
| 9 |
|
---|
| 10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.UnsupportedAttributeException class">
|
---|
| 11 |
|
---|
| 12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
---|
| 13 |
|
---|
| 14 | <SCRIPT type="text/javascript">
|
---|
| 15 | function windowTitle()
|
---|
| 16 | {
|
---|
| 17 | parent.document.title="UnsupportedAttributeException (Apache Ant API)";
|
---|
| 18 | }
|
---|
| 19 | </SCRIPT>
|
---|
| 20 |
|
---|
| 21 | </HEAD>
|
---|
| 22 |
|
---|
| 23 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
| 24 |
|
---|
| 25 |
|
---|
| 26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
| 27 | <A NAME="navbar_top"><!-- --></A>
|
---|
| 28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
| 29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
| 30 | <TR>
|
---|
| 31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
| 32 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
| 33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
| 34 | <TR ALIGN="center" VALIGN="top">
|
---|
| 35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
| 36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
| 37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
| 38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
| 39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
| 40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
| 42 | </TR>
|
---|
| 43 | </TABLE>
|
---|
| 44 | </TD>
|
---|
| 45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
| 46 | </EM>
|
---|
| 47 | </TD>
|
---|
| 48 | </TR>
|
---|
| 49 |
|
---|
| 50 | <TR>
|
---|
| 51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 52 | <A HREF="../../../../org/apache/tools/ant/ExitStatusException.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>
|
---|
| 53 | <A HREF="../../../../org/apache/tools/ant/UnsupportedElementException.html" title="class in org.apache.tools.ant"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
| 54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 55 | <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
| 56 | <A HREF="UnsupportedAttributeException.html" target="_top"><B>NO FRAMES</B></A>
|
---|
| 57 | <SCRIPT type="text/javascript">
|
---|
| 58 | <!--
|
---|
| 59 | if(window==top) {
|
---|
| 60 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
| 61 | }
|
---|
| 62 | //-->
|
---|
| 63 | </SCRIPT>
|
---|
| 64 | <NOSCRIPT>
|
---|
| 65 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
| 66 | </NOSCRIPT>
|
---|
| 67 |
|
---|
| 68 | </FONT></TD>
|
---|
| 69 | </TR>
|
---|
| 70 | <TR>
|
---|
| 71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 72 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
| 73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 74 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
| 75 | </TR>
|
---|
| 76 | </TABLE>
|
---|
| 77 | <A NAME="skip-navbar_top"></A>
|
---|
| 78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
| 79 |
|
---|
| 80 | <HR>
|
---|
| 81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
| 82 | <H2>
|
---|
| 83 | <FONT SIZE="-1">
|
---|
| 84 | org.apache.tools.ant</FONT>
|
---|
| 85 | <BR>
|
---|
| 86 | Class UnsupportedAttributeException</H2>
|
---|
| 87 | <PRE>
|
---|
| 88 | java.lang.Object
|
---|
| 89 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by">java.lang.Throwable
|
---|
| 90 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by">java.lang.Exception
|
---|
| 91 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by">java.lang.RuntimeException
|
---|
| 92 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">org.apache.tools.ant.BuildException</A>
|
---|
| 93 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.UnsupportedAttributeException</B>
|
---|
| 94 | </PRE>
|
---|
| 95 | <DL>
|
---|
| 96 | <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
|
---|
| 97 | </DL>
|
---|
| 98 | <HR>
|
---|
| 99 | <DL>
|
---|
| 100 | <DT>public class <B>UnsupportedAttributeException</B><DT>extends <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></DL>
|
---|
| 101 |
|
---|
| 102 | <P>
|
---|
| 103 | Used to report attempts to set an unsupported attribute
|
---|
| 104 | <P>
|
---|
| 105 |
|
---|
| 106 | <P>
|
---|
| 107 | <DL>
|
---|
| 108 | <DT><B>Since:</B></DT>
|
---|
| 109 | <DD>Ant 1.6.3</DD>
|
---|
| 110 | <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.tools.ant.UnsupportedAttributeException">Serialized Form</A></DL>
|
---|
| 111 | <HR>
|
---|
| 112 |
|
---|
| 113 | <P>
|
---|
| 114 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
| 115 |
|
---|
| 116 |
|
---|
| 117 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
| 118 |
|
---|
| 119 |
|
---|
| 120 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
| 121 |
|
---|
| 122 | <A NAME="constructor_summary"><!-- --></A>
|
---|
| 123 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 124 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 125 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 126 | <B>Constructor Summary</B></FONT></TD>
|
---|
| 127 | </TR>
|
---|
| 128 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 129 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnsupportedAttributeException.html#UnsupportedAttributeException(java.lang.String, java.lang.String)">UnsupportedAttributeException</A></B>(java.lang.String msg,
|
---|
| 130 | java.lang.String attribute)</CODE>
|
---|
| 131 |
|
---|
| 132 | <BR>
|
---|
| 133 | Constructs an unsupported attribute exception.</TD>
|
---|
| 134 | </TR>
|
---|
| 135 | </TABLE>
|
---|
| 136 |
|
---|
| 137 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
| 138 |
|
---|
| 139 | <A NAME="method_summary"><!-- --></A>
|
---|
| 140 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 141 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 142 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 143 | <B>Method Summary</B></FONT></TD>
|
---|
| 144 | </TR>
|
---|
| 145 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 146 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 147 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
| 148 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnsupportedAttributeException.html#getAttribute()">getAttribute</A></B>()</CODE>
|
---|
| 149 |
|
---|
| 150 | <BR>
|
---|
| 151 | Get the attribute that is wrong.</TD>
|
---|
| 152 | </TR>
|
---|
| 153 | </TABLE>
|
---|
| 154 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.BuildException"><!-- --></A>
|
---|
| 155 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 156 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 157 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></B></TD>
|
---|
| 158 | </TR>
|
---|
| 159 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 160 | <TD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html#getCause()">getCause</A>, <A HREF="../../../../org/apache/tools/ant/BuildException.html#getException()">getException</A>, <A HREF="../../../../org/apache/tools/ant/BuildException.html#getLocation()">getLocation</A>, <A HREF="../../../../org/apache/tools/ant/BuildException.html#printStackTrace()">printStackTrace</A>, <A HREF="../../../../org/apache/tools/ant/BuildException.html#printStackTrace(java.io.PrintStream)">printStackTrace</A>, <A HREF="../../../../org/apache/tools/ant/BuildException.html#printStackTrace(java.io.PrintWriter)">printStackTrace</A>, <A HREF="../../../../org/apache/tools/ant/BuildException.html#setLocation(org.apache.tools.ant.Location)">setLocation</A>, <A HREF="../../../../org/apache/tools/ant/BuildException.html#toString()">toString</A></CODE></TD>
|
---|
| 161 | </TR>
|
---|
| 162 | </TABLE>
|
---|
| 163 | <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
|
---|
| 164 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 165 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 166 | <TD><B>Methods inherited from class java.lang.Throwable</B></TD>
|
---|
| 167 | </TR>
|
---|
| 168 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 169 | <TD><CODE>fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace</CODE></TD>
|
---|
| 170 | </TR>
|
---|
| 171 | </TABLE>
|
---|
| 172 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
| 173 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 174 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 175 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
| 176 | </TR>
|
---|
| 177 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 178 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
---|
| 179 | </TR>
|
---|
| 180 | </TABLE>
|
---|
| 181 |
|
---|
| 182 | <P>
|
---|
| 183 |
|
---|
| 184 | <!-- ============ FIELD DETAIL =========== -->
|
---|
| 185 |
|
---|
| 186 |
|
---|
| 187 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
| 188 |
|
---|
| 189 | <A NAME="constructor_detail"><!-- --></A>
|
---|
| 190 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 191 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 192 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 193 | <B>Constructor Detail</B></FONT></TD>
|
---|
| 194 | </TR>
|
---|
| 195 | </TABLE>
|
---|
| 196 |
|
---|
| 197 | <A NAME="UnsupportedAttributeException(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
---|
| 198 | UnsupportedAttributeException</H3>
|
---|
| 199 | <PRE>
|
---|
| 200 | public <B>UnsupportedAttributeException</B>(java.lang.String msg,
|
---|
| 201 | java.lang.String attribute)</PRE>
|
---|
| 202 | <DL>
|
---|
| 203 | <DD>Constructs an unsupported attribute exception.
|
---|
| 204 | <P>
|
---|
| 205 | <DT><B>Parameters:</B><DD><CODE>msg</CODE> - The string containing the message.<DD><CODE>attribute</CODE> - The unsupported attribute.</DL>
|
---|
| 206 |
|
---|
| 207 | <!-- ============ METHOD DETAIL ========== -->
|
---|
| 208 |
|
---|
| 209 | <A NAME="method_detail"><!-- --></A>
|
---|
| 210 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 211 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 212 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 213 | <B>Method Detail</B></FONT></TD>
|
---|
| 214 | </TR>
|
---|
| 215 | </TABLE>
|
---|
| 216 |
|
---|
| 217 | <A NAME="getAttribute()"><!-- --></A><H3>
|
---|
| 218 | getAttribute</H3>
|
---|
| 219 | <PRE>
|
---|
| 220 | public java.lang.String <B>getAttribute</B>()</PRE>
|
---|
| 221 | <DL>
|
---|
| 222 | <DD>Get the attribute that is wrong.
|
---|
| 223 | <P>
|
---|
| 224 | <DD><DL>
|
---|
| 225 |
|
---|
| 226 | <DT><B>Returns:</B><DD>the attribute name.</DL>
|
---|
| 227 | </DD>
|
---|
| 228 | </DL>
|
---|
| 229 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
| 230 | <HR>
|
---|
| 231 |
|
---|
| 232 |
|
---|
| 233 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
| 234 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
| 235 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
| 236 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
| 237 | <TR>
|
---|
| 238 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
| 239 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
| 240 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
| 241 | <TR ALIGN="center" VALIGN="top">
|
---|
| 242 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
| 243 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
| 244 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
| 245 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
| 246 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
| 247 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
| 248 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
| 249 | </TR>
|
---|
| 250 | </TABLE>
|
---|
| 251 | </TD>
|
---|
| 252 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
| 253 | </EM>
|
---|
| 254 | </TD>
|
---|
| 255 | </TR>
|
---|
| 256 |
|
---|
| 257 | <TR>
|
---|
| 258 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 259 | <A HREF="../../../../org/apache/tools/ant/ExitStatusException.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>
|
---|
| 260 | <A HREF="../../../../org/apache/tools/ant/UnsupportedElementException.html" title="class in org.apache.tools.ant"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
| 261 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 262 | <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
| 263 | <A HREF="UnsupportedAttributeException.html" target="_top"><B>NO FRAMES</B></A>
|
---|
| 264 | <SCRIPT type="text/javascript">
|
---|
| 265 | <!--
|
---|
| 266 | if(window==top) {
|
---|
| 267 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
| 268 | }
|
---|
| 269 | //-->
|
---|
| 270 | </SCRIPT>
|
---|
| 271 | <NOSCRIPT>
|
---|
| 272 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
| 273 | </NOSCRIPT>
|
---|
| 274 |
|
---|
| 275 | </FONT></TD>
|
---|
| 276 | </TR>
|
---|
| 277 | <TR>
|
---|
| 278 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 279 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
| 280 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 281 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
| 282 | </TR>
|
---|
| 283 | </TABLE>
|
---|
| 284 | <A NAME="skip-navbar_bottom"></A>
|
---|
| 285 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
| 286 |
|
---|
| 287 | <HR>
|
---|
| 288 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
| 289 | </BODY>
|
---|
| 290 | </HTML>
|
---|