// class not found ? (add error content if NotFound)
classElement.setAttribute("classNotFound", Boolean.toString(classNotFound));
if (classNotFound) {
Element errorElement = document.createElement("error");
classElement.appendChild(errorElement);
Text errorText = document.createTextNode(error);
errorElement.appendChild(errorText);
} else {
// Class found ! Add details (if any)
// Search if the classes was loaded from the module, from the application or from the system