DhElementExistsInDocumentException Class

DhElementExistsInDocumentException Class

This Package | All Packages

RuntimeException
  |
  +--DhElementExistsInDocumentException
public class DhElementExistsInDocumentException
extends RuntimeException

Signals that a given element has already been added to the document. Elements can only be added once.

Constructors
Name Description
DhElementExistsInDocumentException() Constructs an ElementNotFoundException with no detail message.
DhElementExistsInDocumentException(String s) Constructs an ElementNotFoundException with a detail message.

Constructors

DhElementExistsInDocumentException.DhElementExistsInDocumentException

Syntax 1
public DhElementExistsInDocumentException();
Description

Constructs an ElementNotFoundException with no detail message.



Syntax 2
public DhElementExistsInDocumentException( String s );
Description

Constructs an ElementNotFoundException with a detail message.