- Common ways to obtain DocumentException
private void myMethod () {DocumentException d =
Throwable cause;Throwable nestedException;new DocumentException(cause.getMessage(), nestedException)
String message;new DocumentException(message)
Throwable nestedException;new DocumentException("Could not load the DOM Document " + "class: " + name, nestedException)
- Smart code suggestions by Codota
}