}
encodedJson = JsonUtil.writeJavaToHtmlEncodedJson(response);
} catch (FatalAnalysisError e) {
logger.log(Level.SEVERE, String.format(errorGeneratingJsonLogMsg, inputType.name(), inputValue));
throw new ConfigurationException(internalServerErrorText);
} catch (JsonParseException e) {
logger.log(Level.SEVERE, String.format(errorGeneratingJsonLogMsg, inputType.name(), inputValue));
throw new ConfigurationException(internalServerErrorText);
} catch (JsonMappingException e) {
logger.log(Level.SEVERE, String.format(errorGeneratingJsonLogMsg, inputType.name(), inputValue));
throw new ConfigurationException(internalServerErrorText);
} catch (IOException e) {
logger.log(Level.SEVERE, String.format(errorGeneratingJsonLogMsg, inputType.name(), inputValue));
throw new ConfigurationException(internalServerErrorText);
} catch (UnknownModuleIdentifier e) {
logger.log(Level.SEVERE, String.format(errorGeneratingJsonLogMsg, inputType.name(), inputValue));
throw new ConfigurationException(internalServerErrorText);
} catch (ModuleSourceNotAvailable e) {
logger.log(Level.SEVERE, String.format(errorGeneratingJsonLogMsg, inputType.name(), inputValue));
throw new ConfigurationException(internalServerErrorText);
}
logger.exiting(this.getClass().getName(), "analyseDependencies");
// Encoded response and return