|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nu.xom.XMLException
nu.xom.NoSuchChildException
public class NoSuchChildException
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 Form| Constructor Summary | |
|---|---|
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. |
|
| Method Summary |
|---|
| Methods inherited from class nu.xom.XMLException |
|---|
getCause, initCause |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NoSuchChildException(java.lang.String message)
Creates a new NoSuchChildException
with a detail message.
message - explains the reason for the exception
public 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 exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||