org.apache.tools.ant

Class UnsupportedAttributeException

public class UnsupportedAttributeException extends BuildException

Used to report attempts to set an unsupported attribute

Since: Ant 1.6.3

Constructor Summary
UnsupportedAttributeException(String msg, String attribute)
Constructs an unsupported attribute exception.
Method Summary
StringgetAttribute()
Get the attribute that is wrong.

Constructor Detail

UnsupportedAttributeException

public UnsupportedAttributeException(String msg, String attribute)
Constructs an unsupported attribute exception.

Parameters: msg The string containing the message. attribute The unsupported attribute.

Method Detail

getAttribute

public String getAttribute()
Get the attribute that is wrong.

Returns: the attribute name.