nu.xom
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 FormConstructor and Description |
---|
NoSuchAttributeException(String message)
Creates a new
NoSuchAttributeException
with a detail message. |
NoSuchAttributeException(String message,
Throwable cause)
Creates a new
NoSuchAttributeException
with the specified detail message
and an underlying root cause. |
getCause, initCause
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NoSuchAttributeException(String message)
Creates a new NoSuchAttributeException
with a detail message.
message
- explains the reason for the exceptionpublic NoSuchAttributeException(String message, 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-2010 <a href='http://www.elharo.com/'>Elliotte Rusty Harold</a><br /> <a href='mailto:elharo%40ibiblio%2Eorg?Subject=XOM'>elharo@ibiblio.org</a>