|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.jdom.JDOMException
|
+--org.jdom.NoSuchElementException
NoSuchElementException is thrown when a requested
XML element is searched for and does not exist. This is
in favor or a null return value which can cause program errors
when used in comparisons, etc.
| Fields inherited from class org.jdom.JDOMException |
rootCause |
| Constructor Summary | |
NoSuchElementException(java.lang.String elementName)
This will create an Exception indicating
that the specified element does not exist nested
directly (one level deep) within the current element. |
|
| Methods inherited from class org.jdom.JDOMException |
getRootCause |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public NoSuchElementException(java.lang.String elementName)
This will create an Exception indicating
that the specified element does not exist nested
directly (one level deep) within the current element.
Note: This does not relate any indication of whether the requested element may be nested more than one level deep within the current element.
elementName - String name of XML
element being searched for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||