Source code: javax/ide/build/AbortBuildException.java
1 package javax.ide.build;
2
3 /**
4 * Exception thrown by {@link BuildListener}s to stop the build process.
5 */
6 public class AbortBuildException extends Exception
7 {
8 /**
9 * Constructs an <tt>AbortBuildException</tt>.
10 *
11 * @param msg a short message indicating the problem.
12 */
13 public AbortBuildException( String msg )
14 {
15 super( msg );
16 }
17
18 /**
19 * Constructs an <tt>AbortBuildException</tt>.
20 *
21 * @param msg a short message indicating the problem.
22 * @param cause another exception which caused this exception.
23 */
24 public AbortBuildException( String msg, Throwable cause )
25 {
26 super( msg, cause );
27 }
28 }