public class NoSuchAttributeException extends XMLException
Indicates that an attribute with a certain name and/or namespace does not exist. This is normally thrown after an attempt to remove such a non-existent attribute.
Element.removeAttribute(Attribute),
Serialized Form| Constructor and Description |
|---|
NoSuchAttributeException(java.lang.String message)
Creates a new
NoSuchAttributeException
with a detail message. |
NoSuchAttributeException(java.lang.String message,
java.lang.Throwable cause)
Creates a new
NoSuchAttributeException
with the specified detail message
and an underlying root cause. |
getCause, initCausepublic NoSuchAttributeException(java.lang.String message)
Creates a new NoSuchAttributeException
with a detail message.
message - explains the reason for the exceptionpublic NoSuchAttributeException(java.lang.String message,
java.lang.Throwable cause)
Creates a new NoSuchAttributeException
with the specified detail message
and an underlying root cause.
message - explains the reason for the exceptioncause - the nested exception that caused this exceptionCopyright 2002-2013 Elliotte Rusty Harold
elharo@ibiblio.org