} else {
return errorDoc(500, "Multiple results found unexpectedly");
}
}
} catch (Exception e) {
e.printStackTrace();
return errorDoc(500, "SQL request threw exception");
}
if(container != null) {
if(container.getDocument() == null) {
return new Document(container);