Top Description Fields Constructors Methods
org.apache.tools.ant

public Class UnsupportedAttributeException

extends BuildException
Class Inheritance

Used to report attempts to set an unsupported attribute
Since
Ant 1.6.3

Field Summary

Modifier and TypeField and Description
private final String
private static final long

Constructor Summary

AccessConstructor and Description
public
UnsupportedAttributeException(String
The string containing the message.
msg
,
String
The unsupported attribute.
attribute
)

Constructs an unsupported attribute exception.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the attribute name.
getAttribute
()

Get the attribute that is wrong.

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

Field Detail

attributeback to summary
private final String attribute
serialVersionUIDback to summary
private static final long serialVersionUID

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

Constructor Detail

UnsupportedAttributeExceptionback to summary
public UnsupportedAttributeException(String msg, String attribute)

Constructs an unsupported attribute exception.

Parameters
msg:String

The string containing the message.

attribute:String

The unsupported attribute.

Method Detail

getAttributeback to summary
public String getAttribute()

Get the attribute that is wrong.

Returns:String

the attribute name.