public class IllegalAddException extends WellformednessException
Indicates an attempt to add a node in a wrong place; for instance
adding a Text node to a Document object.
| Constructor and Description |
|---|
IllegalAddException(java.lang.String message)
Creates a new
IllegalAddException
with a detail message. |
IllegalAddException(java.lang.String message,
java.lang.Throwable cause)
Creates a new
IllegalAddException with a detail message
and an underlying root cause. |
getCause, initCausepublic IllegalAddException(java.lang.String message)
Creates a new IllegalAddException
with a detail message.
message - a string indicating the specific problempublic IllegalAddException(java.lang.String message,
java.lang.Throwable cause)
Creates a new IllegalAddException with a detail message
and an underlying root cause.
message - a string indicating the specific problemcause - the original cause of this exceptionCopyright 2002-2013 Elliotte Rusty Harold
elharo@ibiblio.org