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(String message)
 Creates a new  IllegalAddExceptionwith a detail message. | 
| IllegalAddException(String message,
                   Throwable cause)
 Creates a new  IllegalAddExceptionwith a detail message
 and an underlying root cause. | 
getCause, initCausepublic IllegalAddException(String message)
 Creates a new IllegalAddException 
 with a detail message.
 
message - a string indicating the specific problempublic IllegalAddException(String message,
                           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-2023 Elliotte Rusty Harold        
 elharo@ibiblio.org