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

String
getAttribute()
Get the attribute that is wrong.

Methods inherited from class org.apache.tools.ant.BuildException

getCause, getException, getLocation, printStackTrace, printStackTrace, printStackTrace, setLocation, toString

Constructor Details

UnsupportedAttributeException

public UnsupportedAttributeException(String msg,
                                     String attribute)
Constructs an unsupported attribute exception.
Parameters:
msg - The string containing the message.
attribute - The unsupported attribute.

Method Details

getAttribute

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

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.