Browse Source

Javadoc improvements

Submitted by: Daniel Rall <dlr@finemaltcoding.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267595 13f79535-47bb-0310-9956-ffa450edef68
master
Sam Ruby 25 years ago
parent
commit
8769384760
1 changed files with 9 additions and 5 deletions
  1. +9
    -5
      src/main/org/apache/tools/ant/BuildException.java

+ 9
- 5
src/main/org/apache/tools/ant/BuildException.java View File

@@ -55,18 +55,18 @@
package org.apache.tools.ant; package org.apache.tools.ant;


/** /**
* Signals an error condition.
* Signals an error condition during a build.
* *
* @author James Duncan Davidson * @author James Duncan Davidson
*/ */


public class BuildException extends RuntimeException { public class BuildException extends RuntimeException {


/** Exception that might have caused this one */
/** Exception that might have caused this one. */
private Exception cause; private Exception cause;


/** /**
* Constructs an exception with no information.
* Constructs a build exception with no descriptive information.
*/ */
public BuildException() { public BuildException() {
@@ -74,7 +74,8 @@ public class BuildException extends RuntimeException {
} }


/** /**
* Constructs an exception with the given message.
* Constructs an exception with the given descriptive message.
* @param msg Description of or information about the exception.
*/ */
public BuildException(String msg) { public BuildException(String msg) {
@@ -84,6 +85,8 @@ public class BuildException extends RuntimeException {
/** /**
* Constructs an exception with the given message and exception as * Constructs an exception with the given message and exception as
* a root cause. * a root cause.
* @param msg Description of or information about the exception.
* @param cause Exception that might have cause this one.
*/ */


public BuildException(String msg, Exception cause) { public BuildException(String msg, Exception cause) {
@@ -93,10 +96,11 @@ public class BuildException extends RuntimeException {
/** /**
* Constructs an exception with the given exception as a root cause. * Constructs an exception with the given exception as a root cause.
* @param cause Exception that might have caused this one.
*/ */
public BuildException(Exception cause) { public BuildException(Exception cause) {
super(); super();
this.cause = cause; this.cause = cause;
} }
}
}

Loading…
Cancel
Save