Class UnsupportedAttributeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.tools.ant.BuildException
org.apache.tools.ant.UnsupportedAttributeException
- All Implemented Interfaces:
Serializable
Used to report attempts to set an unsupported attribute
- Since:
- Ant 1.6.3
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnsupportedAttributeException(String msg, String attribute) Constructs an unsupported attribute exception. -
Method Summary
Methods inherited from class BuildException
getException, getLocation, of, setLocation, toStringModifier and TypeMethodDescriptionDeprecated.Returns the file location where the error occurred.static BuildExceptionGet aBuildExceptionfor the specifiedThrowable.voidsetLocation(Location location) Sets the file location where the error occurred.toString()Returns the location of the error and the error message.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
UnsupportedAttributeException
-
-
Method Details
-
getAttribute
-
Throwable.getCause()instead.