* if an error occurred while analyzing the file
*/
protected static Document analyzeFile(String analyzedFile)
throws KameleonException {
try {
SyntaxAnalyzer a = new SyntaxAnalyzer(
new LexicalAnalyzer(new InputStreamReader(
new FileInputStream(analyzedFile), "UTF-8"))) ;
return (Document) a.parse().value ;
} catch (FileNotFoundException e) {
//TODO Ajouter notre exception
throw new KameleonException(e.getMessage()) ;
} catch (Exception e) {
//TODO Ajouter notre exception