Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.optional.testing

public Class BuildTimeoutException

extends BuildException
Class Inheritance
Imports
org.apache.tools.ant.BuildException, .Location

This exception is used to indicate timeouts.
Since
Ant1.8

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
BuildTimeoutException()

Constructs a build exception with no descriptive information.

public
BuildTimeoutException(String
A description of or information about the exception. Should not be null.
message
)

Constructs an exception with the given descriptive message.

public
BuildTimeoutException(String
A description of or information about the exception. Should not be null unless a cause is specified.
message
,
Throwable
The exception that might have caused this one. May be null.
cause
)

Constructs an exception with the given message and exception as a root cause.

public
BuildTimeoutException(String
A description of or information about the exception. Should not be null unless a cause is specified.
msg
,
Throwable
The exception that might have caused this one. May be null.
cause
,
Location
The location in the project file where the error occurred. Must not be null.
location
)

Constructs an exception with the given message and exception as a root cause and a location in a file.

public
BuildTimeoutException(Throwable
The exception that might have caused this one. Should not be null.
cause
)

Constructs an exception with the given exception as a root cause.

public
BuildTimeoutException(String
A description of or information about the exception. Should not be null.
message
,
Location
The location in the project file where the error occurred. Must not be null.
location
)

Constructs an exception with the given descriptive message and a location in a file.

public
BuildTimeoutException(Throwable
The exception that might have caused this one. Should not be null.
cause
,
Location
The location in the project file where the error occurred. Must not be null.
location
)

Constructs an exception with the given exception as a root cause and a location in a file.

Method Summary

Inherited from org.apache.tools.ant.BuildException:
getExceptiongetLocationofsetLocationtoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.tools.ant.BuildException.serialVersionUID.

Constructor Detail

BuildTimeoutExceptionback to summary
public BuildTimeoutException()

Constructs a build exception with no descriptive information.

BuildTimeoutExceptionback to summary
public BuildTimeoutException(String message)

Constructs an exception with the given descriptive message.

Parameters
message:String

A description of or information about the exception. Should not be null.

BuildTimeoutExceptionback to summary
public BuildTimeoutException(String message, Throwable cause)

Constructs an exception with the given message and exception as a root cause.

Parameters
message:String

A description of or information about the exception. Should not be null unless a cause is specified.

cause:Throwable

The exception that might have caused this one. May be null.

BuildTimeoutExceptionback to summary
public BuildTimeoutException(String msg, Throwable cause, Location location)

Constructs an exception with the given message and exception as a root cause and a location in a file.

Parameters
msg:String

A description of or information about the exception. Should not be null unless a cause is specified.

cause:Throwable

The exception that might have caused this one. May be null.

location:Location

The location in the project file where the error occurred. Must not be null.

BuildTimeoutExceptionback to summary
public BuildTimeoutException(Throwable cause)

Constructs an exception with the given exception as a root cause.

Parameters
cause:Throwable

The exception that might have caused this one. Should not be null.

BuildTimeoutExceptionback to summary
public BuildTimeoutException(String message, Location location)

Constructs an exception with the given descriptive message and a location in a file.

Parameters
message:String

A description of or information about the exception. Should not be null.

location:Location

The location in the project file where the error occurred. Must not be null.

BuildTimeoutExceptionback to summary
public BuildTimeoutException(Throwable cause, Location location)

Constructs an exception with the given exception as a root cause and a location in a file.

Parameters
cause:Throwable

The exception that might have caused this one. Should not be null.

location:Location

The location in the project file where the error occurred. Must not be null.