
if (error) {
</BUG>
try {
<BUG>response.sendError(500);
} catch (IOException e) {</BUG>
Debug.logError(e, module);
}
} else {
PrintWriter out = null;

Debug.logWarning("Unsupported document type submitted by Google; [" + nodeValue + "] has not yet been implemented.", module);
}
}
return null;
}
private static void sendResponse(HttpServletResponse response, String serialNumber, Exception error) {
if (error != null) {
try {
response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, error.getMessage());
} catch (IOException e) {
Debug.logError(e, module);
}
} else {
PrintWriter out = null;
