KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > beehive > netui > xdoclet > NetuiBuildException


1 package org.apache.beehive.netui.xdoclet;
2
3 import org.apache.tools.ant.BuildException;
4
5 /**
6  * Extension of ant's BuildException that does not print a stack trace. This is used to
7  * signal ant that the build has failed from the doclet task, but without the
8  * XJavaDocTask superclass printing out a stacktrace, so that pageflow build error messages
9  * will be easier to find.
10  */

11 public class NetuiBuildException extends BuildException
12 {
13
14     public NetuiBuildException()
15     {
16         super();
17     }
18
19     public void printStackTrace()
20     {
21         // no-op so we won't let XJavaDocTask print out a stack when the build fails
22
}
23 }
24
Popular Tags