source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/build/javadocs/org/apache/tools/ant/BuildException.html@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 22.9 KB
Line 
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>
7BuildException (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.BuildException class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 parent.document.title="BuildException (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>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;PREV CLASS&nbsp;
53&nbsp;<A HREF="../../../../org/apache/tools/ant/ExitException.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> &nbsp;
56&nbsp;<A HREF="BuildException.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
57&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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">
84org.apache.tools.ant</FONT>
85<BR>
86Class BuildException</H2>
87<PRE>
88java.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"><B>org.apache.tools.ant.BuildException</B>
93</PRE>
94<DL>
95<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
96</DL>
97<DL>
98<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/tools/ant/ExitStatusException.html" title="class in org.apache.tools.ant">ExitStatusException</A>, <A HREF="../../../../org/apache/tools/ant/UnsupportedAttributeException.html" title="class in org.apache.tools.ant">UnsupportedAttributeException</A>, <A HREF="../../../../org/apache/tools/ant/UnsupportedElementException.html" title="class in org.apache.tools.ant">UnsupportedElementException</A></DD>
99</DL>
100<HR>
101<DL>
102<DT>public class <B>BuildException</B><DT>extends java.lang.RuntimeException</DL>
103
104<P>
105Signals an error condition during a build
106<P>
107
108<P>
109<DL>
110<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.tools.ant.BuildException">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/BuildException.html#BuildException()">BuildException</A></B>()</CODE>
130
131<BR>
132&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a build exception with no descriptive information.</TD>
133</TR>
134<TR BGCOLOR="white" CLASS="TableRowColor">
135<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildException.html#BuildException(java.lang.String)">BuildException</A></B>(java.lang.String&nbsp;message)</CODE>
136
137<BR>
138&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an exception with the given descriptive message.</TD>
139</TR>
140<TR BGCOLOR="white" CLASS="TableRowColor">
141<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildException.html#BuildException(java.lang.String, org.apache.tools.ant.Location)">BuildException</A></B>(java.lang.String&nbsp;message,
142 <A HREF="../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A>&nbsp;location)</CODE>
143
144<BR>
145&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an exception with the given descriptive message and a
146 location in a file.</TD>
147</TR>
148<TR BGCOLOR="white" CLASS="TableRowColor">
149<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildException.html#BuildException(java.lang.String, java.lang.Throwable)">BuildException</A></B>(java.lang.String&nbsp;message,
150 java.lang.Throwable&nbsp;cause)</CODE>
151
152<BR>
153&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an exception with the given message and exception as
154 a root cause.</TD>
155</TR>
156<TR BGCOLOR="white" CLASS="TableRowColor">
157<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildException.html#BuildException(java.lang.String, java.lang.Throwable, org.apache.tools.ant.Location)">BuildException</A></B>(java.lang.String&nbsp;msg,
158 java.lang.Throwable&nbsp;cause,
159 <A HREF="../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A>&nbsp;location)</CODE>
160
161<BR>
162&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an exception with the given message and exception as
163 a root cause and a location in a file.</TD>
164</TR>
165<TR BGCOLOR="white" CLASS="TableRowColor">
166<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildException.html#BuildException(java.lang.Throwable)">BuildException</A></B>(java.lang.Throwable&nbsp;cause)</CODE>
167
168<BR>
169&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an exception with the given exception as a root cause.</TD>
170</TR>
171<TR BGCOLOR="white" CLASS="TableRowColor">
172<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildException.html#BuildException(java.lang.Throwable, org.apache.tools.ant.Location)">BuildException</A></B>(java.lang.Throwable&nbsp;cause,
173 <A HREF="../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A>&nbsp;location)</CODE>
174
175<BR>
176&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an exception with the given exception as
177 a root cause and a location in a file.</TD>
178</TR>
179</TABLE>
180&nbsp;
181<!-- ========== METHOD SUMMARY =========== -->
182
183<A NAME="method_summary"><!-- --></A>
184<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
185<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
186<TD COLSPAN=2><FONT SIZE="+2">
187<B>Method Summary</B></FONT></TD>
188</TR>
189<TR BGCOLOR="white" CLASS="TableRowColor">
190<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191<CODE>&nbsp;java.lang.Throwable</CODE></FONT></TD>
192<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildException.html#getCause()">getCause</A></B>()</CODE>
193
194<BR>
195&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the nested exception, if any.</TD>
196</TR>
197<TR BGCOLOR="white" CLASS="TableRowColor">
198<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199<CODE>&nbsp;java.lang.Throwable</CODE></FONT></TD>
200<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildException.html#getException()">getException</A></B>()</CODE>
201
202<BR>
203&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the nested exception, if any.</TD>
204</TR>
205<TR BGCOLOR="white" CLASS="TableRowColor">
206<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207<CODE>&nbsp;<A HREF="../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A></CODE></FONT></TD>
208<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildException.html#getLocation()">getLocation</A></B>()</CODE>
209
210<BR>
211&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the file location where the error occurred.</TD>
212</TR>
213<TR BGCOLOR="white" CLASS="TableRowColor">
214<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
215<CODE>&nbsp;void</CODE></FONT></TD>
216<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildException.html#printStackTrace()">printStackTrace</A></B>()</CODE>
217
218<BR>
219&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints the stack trace for this exception and any
220 nested exception to <code>System.err</code>.</TD>
221</TR>
222<TR BGCOLOR="white" CLASS="TableRowColor">
223<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
224<CODE>&nbsp;void</CODE></FONT></TD>
225<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildException.html#printStackTrace(java.io.PrintStream)">printStackTrace</A></B>(java.io.PrintStream&nbsp;ps)</CODE>
226
227<BR>
228&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints the stack trace of this exception and any nested
229 exception to the specified PrintStream.</TD>
230</TR>
231<TR BGCOLOR="white" CLASS="TableRowColor">
232<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
233<CODE>&nbsp;void</CODE></FONT></TD>
234<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildException.html#printStackTrace(java.io.PrintWriter)">printStackTrace</A></B>(java.io.PrintWriter&nbsp;pw)</CODE>
235
236<BR>
237&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints the stack trace of this exception and any nested
238 exception to the specified PrintWriter.</TD>
239</TR>
240<TR BGCOLOR="white" CLASS="TableRowColor">
241<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
242<CODE>&nbsp;void</CODE></FONT></TD>
243<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildException.html#setLocation(org.apache.tools.ant.Location)">setLocation</A></B>(<A HREF="../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A>&nbsp;location)</CODE>
244
245<BR>
246&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the file location where the error occurred.</TD>
247</TR>
248<TR BGCOLOR="white" CLASS="TableRowColor">
249<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
250<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
251<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildException.html#toString()">toString</A></B>()</CODE>
252
253<BR>
254&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the location of the error and the error message.</TD>
255</TR>
256</TABLE>
257&nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
258<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
259<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
260<TD><B>Methods inherited from class java.lang.Throwable</B></TD>
261</TR>
262<TR BGCOLOR="white" CLASS="TableRowColor">
263<TD><CODE>fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace</CODE></TD>
264</TR>
265</TABLE>
266&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
267<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
268<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
269<TD><B>Methods inherited from class java.lang.Object</B></TD>
270</TR>
271<TR BGCOLOR="white" CLASS="TableRowColor">
272<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
273</TR>
274</TABLE>
275&nbsp;
276<P>
277
278<!-- ============ FIELD DETAIL =========== -->
279
280
281<!-- ========= CONSTRUCTOR DETAIL ======== -->
282
283<A NAME="constructor_detail"><!-- --></A>
284<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
285<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
286<TD COLSPAN=1><FONT SIZE="+2">
287<B>Constructor Detail</B></FONT></TD>
288</TR>
289</TABLE>
290
291<A NAME="BuildException()"><!-- --></A><H3>
292BuildException</H3>
293<PRE>
294public <B>BuildException</B>()</PRE>
295<DL>
296<DD>Constructs a build exception with no descriptive information.
297<P>
298</DL>
299<HR>
300
301<A NAME="BuildException(java.lang.String)"><!-- --></A><H3>
302BuildException</H3>
303<PRE>
304public <B>BuildException</B>(java.lang.String&nbsp;message)</PRE>
305<DL>
306<DD>Constructs an exception with the given descriptive message.
307<P>
308<DT><B>Parameters:</B><DD><CODE>message</CODE> - A description of or information about the exception.
309 Should not be <code>null</code>.</DL>
310<HR>
311
312<A NAME="BuildException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
313BuildException</H3>
314<PRE>
315public <B>BuildException</B>(java.lang.String&nbsp;message,
316 java.lang.Throwable&nbsp;cause)</PRE>
317<DL>
318<DD>Constructs an exception with the given message and exception as
319 a root cause.
320<P>
321<DT><B>Parameters:</B><DD><CODE>message</CODE> - A description of or information about the exception.
322 Should not be <code>null</code> unless a cause is specified.<DD><CODE>cause</CODE> - The exception that might have caused this one.
323 May be <code>null</code>.</DL>
324<HR>
325
326<A NAME="BuildException(java.lang.String, java.lang.Throwable, org.apache.tools.ant.Location)"><!-- --></A><H3>
327BuildException</H3>
328<PRE>
329public <B>BuildException</B>(java.lang.String&nbsp;msg,
330 java.lang.Throwable&nbsp;cause,
331 <A HREF="../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A>&nbsp;location)</PRE>
332<DL>
333<DD>Constructs an exception with the given message and exception as
334 a root cause and a location in a file.
335<P>
336<DT><B>Parameters:</B><DD><CODE>msg</CODE> - A description of or information about the exception.
337 Should not be <code>null</code> unless a cause is specified.<DD><CODE>cause</CODE> - The exception that might have caused this one.
338 May be <code>null</code>.<DD><CODE>location</CODE> - The location in the project file where the error
339 occurred. Must not be <code>null</code>.</DL>
340<HR>
341
342<A NAME="BuildException(java.lang.Throwable)"><!-- --></A><H3>
343BuildException</H3>
344<PRE>
345public <B>BuildException</B>(java.lang.Throwable&nbsp;cause)</PRE>
346<DL>
347<DD>Constructs an exception with the given exception as a root cause.
348<P>
349<DT><B>Parameters:</B><DD><CODE>cause</CODE> - The exception that might have caused this one.
350 Should not be <code>null</code>.</DL>
351<HR>
352
353<A NAME="BuildException(java.lang.String, org.apache.tools.ant.Location)"><!-- --></A><H3>
354BuildException</H3>
355<PRE>
356public <B>BuildException</B>(java.lang.String&nbsp;message,
357 <A HREF="../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A>&nbsp;location)</PRE>
358<DL>
359<DD>Constructs an exception with the given descriptive message and a
360 location in a file.
361<P>
362<DT><B>Parameters:</B><DD><CODE>message</CODE> - A description of or information about the exception.
363 Should not be <code>null</code>.<DD><CODE>location</CODE> - The location in the project file where the error
364 occurred. Must not be <code>null</code>.</DL>
365<HR>
366
367<A NAME="BuildException(java.lang.Throwable, org.apache.tools.ant.Location)"><!-- --></A><H3>
368BuildException</H3>
369<PRE>
370public <B>BuildException</B>(java.lang.Throwable&nbsp;cause,
371 <A HREF="../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A>&nbsp;location)</PRE>
372<DL>
373<DD>Constructs an exception with the given exception as
374 a root cause and a location in a file.
375<P>
376<DT><B>Parameters:</B><DD><CODE>cause</CODE> - The exception that might have caused this one.
377 Should not be <code>null</code>.<DD><CODE>location</CODE> - The location in the project file where the error
378 occurred. Must not be <code>null</code>.</DL>
379
380<!-- ============ METHOD DETAIL ========== -->
381
382<A NAME="method_detail"><!-- --></A>
383<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
384<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
385<TD COLSPAN=1><FONT SIZE="+2">
386<B>Method Detail</B></FONT></TD>
387</TR>
388</TABLE>
389
390<A NAME="getException()"><!-- --></A><H3>
391getException</H3>
392<PRE>
393public java.lang.Throwable <B>getException</B>()</PRE>
394<DL>
395<DD>Returns the nested exception, if any.
396<P>
397<DD><DL>
398
399<DT><B>Returns:</B><DD>the nested exception, or <code>null</code> if no
400 exception is associated with this one</DL>
401</DD>
402</DL>
403<HR>
404
405<A NAME="getCause()"><!-- --></A><H3>
406getCause</H3>
407<PRE>
408public java.lang.Throwable <B>getCause</B>()</PRE>
409<DL>
410<DD>Returns the nested exception, if any.
411<P>
412<DD><DL>
413
414<DT><B>Returns:</B><DD>the nested exception, or <code>null</code> if no
415 exception is associated with this one</DL>
416</DD>
417</DL>
418<HR>
419
420<A NAME="toString()"><!-- --></A><H3>
421toString</H3>
422<PRE>
423public java.lang.String <B>toString</B>()</PRE>
424<DL>
425<DD>Returns the location of the error and the error message.
426<P>
427<DD><DL>
428
429<DT><B>Returns:</B><DD>the location of the error and the error message</DL>
430</DD>
431</DL>
432<HR>
433
434<A NAME="setLocation(org.apache.tools.ant.Location)"><!-- --></A><H3>
435setLocation</H3>
436<PRE>
437public void <B>setLocation</B>(<A HREF="../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A>&nbsp;location)</PRE>
438<DL>
439<DD>Sets the file location where the error occurred.
440<P>
441<DD><DL>
442<DT><B>Parameters:</B><DD><CODE>location</CODE> - The file location where the error occurred.
443 Must not be <code>null</code>.</DL>
444</DD>
445</DL>
446<HR>
447
448<A NAME="getLocation()"><!-- --></A><H3>
449getLocation</H3>
450<PRE>
451public <A HREF="../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A> <B>getLocation</B>()</PRE>
452<DL>
453<DD>Returns the file location where the error occurred.
454<P>
455<DD><DL>
456
457<DT><B>Returns:</B><DD>the file location where the error occurred.</DL>
458</DD>
459</DL>
460<HR>
461
462<A NAME="printStackTrace()"><!-- --></A><H3>
463printStackTrace</H3>
464<PRE>
465public void <B>printStackTrace</B>()</PRE>
466<DL>
467<DD>Prints the stack trace for this exception and any
468 nested exception to <code>System.err</code>.
469<P>
470<DD><DL>
471</DL>
472</DD>
473</DL>
474<HR>
475
476<A NAME="printStackTrace(java.io.PrintStream)"><!-- --></A><H3>
477printStackTrace</H3>
478<PRE>
479public void <B>printStackTrace</B>(java.io.PrintStream&nbsp;ps)</PRE>
480<DL>
481<DD>Prints the stack trace of this exception and any nested
482 exception to the specified PrintStream.
483<P>
484<DD><DL>
485<DT><B>Parameters:</B><DD><CODE>ps</CODE> - The PrintStream to print the stack trace to.
486 Must not be <code>null</code>.</DL>
487</DD>
488</DL>
489<HR>
490
491<A NAME="printStackTrace(java.io.PrintWriter)"><!-- --></A><H3>
492printStackTrace</H3>
493<PRE>
494public void <B>printStackTrace</B>(java.io.PrintWriter&nbsp;pw)</PRE>
495<DL>
496<DD>Prints the stack trace of this exception and any nested
497 exception to the specified PrintWriter.
498<P>
499<DD><DL>
500<DT><B>Parameters:</B><DD><CODE>pw</CODE> - The PrintWriter to print the stack trace to.
501 Must not be <code>null</code>.</DL>
502</DD>
503</DL>
504<!-- ========= END OF CLASS DATA ========= -->
505<HR>
506
507
508<!-- ======= START OF BOTTOM NAVBAR ====== -->
509<A NAME="navbar_bottom"><!-- --></A>
510<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
511<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
512<TR>
513<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
514<A NAME="navbar_bottom_firstrow"><!-- --></A>
515<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
516 <TR ALIGN="center" VALIGN="top">
517 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
518 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
519 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
520 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
521 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
522 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
523 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
524 </TR>
525</TABLE>
526</TD>
527<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
528</EM>
529</TD>
530</TR>
531
532<TR>
533<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
534&nbsp;PREV CLASS&nbsp;
535&nbsp;<A HREF="../../../../org/apache/tools/ant/ExitException.html" title="class in org.apache.tools.ant"><B>NEXT CLASS</B></A></FONT></TD>
536<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
537 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
538&nbsp;<A HREF="BuildException.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
539&nbsp;<SCRIPT type="text/javascript">
540 <!--
541 if(window==top) {
542 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
543 }
544 //-->
545</SCRIPT>
546<NOSCRIPT>
547 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
548</NOSCRIPT>
549
550</FONT></TD>
551</TR>
552<TR>
553<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
554 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
555<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
556DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
557</TR>
558</TABLE>
559<A NAME="skip-navbar_bottom"></A>
560<!-- ======== END OF BOTTOM NAVBAR ======= -->
561
562<HR>
563Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
564</BODY>
565</HTML>
Note: See TracBrowser for help on using the repository browser.