public class NoSuchChildException extends XMLException
Indicates that a child with a certain name and/or namespace does not exist. This is thrown when you attempt to remove a node from a parent that does not actually have that node as a child.
ParentNode.removeChild(Node)
,
Serialized FormConstructor and Description |
---|
NoSuchChildException(java.lang.String message)
Creates a new
NoSuchChildException
with a detail message. |
NoSuchChildException(java.lang.String message,
java.lang.Throwable cause)
Creates a new
NoSuchChildException
with the specified detail message
and an underlying root cause. |
getCause, initCause
public NoSuchChildException(java.lang.String message)
Creates a new NoSuchChildException
with a detail message.
message
- explains the reason for the exceptionpublic NoSuchChildException(java.lang.String message, java.lang.Throwable cause)
Creates a new NoSuchChildException
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