|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.apache.tools.ant.BuildException org.apache.tools.ant.taskdefs.optional.testing.BuildTimeoutException
public class BuildTimeoutException
This exception is used to indicate timeouts.
Constructor Summary | |
---|---|
BuildTimeoutException()
Constructs a build exception with no descriptive information. |
|
BuildTimeoutException(java.lang.String message)
Constructs an exception with the given descriptive message. |
|
BuildTimeoutException(java.lang.String message,
Location location)
Constructs an exception with the given descriptive message and a location in a file. |
|
BuildTimeoutException(java.lang.String message,
java.lang.Throwable cause)
Constructs an exception with the given message and exception as a root cause. |
|
BuildTimeoutException(java.lang.String msg,
java.lang.Throwable cause,
Location location)
Constructs an exception with the given message and exception as a root cause and a location in a file. |
|
BuildTimeoutException(java.lang.Throwable cause)
Constructs an exception with the given exception as a root cause. |
|
BuildTimeoutException(java.lang.Throwable cause,
Location location)
Constructs an exception with the given exception as a root cause and a location in a file. |
Method Summary |
---|
Methods inherited from class org.apache.tools.ant.BuildException |
---|
getException, getLocation, setLocation, toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BuildTimeoutException()
public BuildTimeoutException(java.lang.String message)
message
- A description of or information about the exception.
Should not be null
.public BuildTimeoutException(java.lang.String message, java.lang.Throwable cause)
message
- A description of or information about the exception.
Should not be null
unless a cause is specified.cause
- The exception that might have caused this one.
May be null
.public BuildTimeoutException(java.lang.String msg, java.lang.Throwable cause, Location location)
msg
- A description of or information about the exception.
Should not be null
unless a cause is specified.cause
- The exception that might have caused this one.
May be null
.location
- The location in the project file where the error
occurred. Must not be null
.public BuildTimeoutException(java.lang.Throwable cause)
cause
- The exception that might have caused this one.
Should not be null
.public BuildTimeoutException(java.lang.String message, Location location)
message
- A description of or information about the exception.
Should not be null
.location
- The location in the project file where the error
occurred. Must not be null
.public BuildTimeoutException(java.lang.Throwable cause, Location location)
cause
- The exception that might have caused this one.
Should not be null
.location
- The location in the project file where the error
occurred. Must not be null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |