Class UnsupportedAttributeException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by
                  extended by
All Implemented Interfaces:

public class UnsupportedAttributeException
extends BuildException

Used to report attempts to set an unsupported attribute

Ant 1.6.3
See Also:
Serialized Form

Constructor Summary
UnsupportedAttributeException(java.lang.String msg, java.lang.String attribute)
          Constructs an unsupported attribute exception.
Method Summary
 java.lang.String getAttribute()
          Get the attribute that is wrong.
Methods inherited from class
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 UnsupportedAttributeException(java.lang.String msg,
                                     java.lang.String attribute)
Constructs an unsupported attribute exception.

msg - The string containing the message.
attribute - The unsupported attribute.
Method Detail


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

the attribute name.