Code example for DOMError

Methods: getLocationgetMessage

0
	/** 
	 * @param error 
	 * @return 
	 */ 
	private String errorMessage(DOMError error) {
		return error.getMessage() + " (line: " + error.getLocation().getLineNumber() + ")";
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java