Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 1a12a5e6 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- returned initial error message when parsed alignment non printable

parent 07a3e361
No related branches found
No related tags found
No related merge requests found
......@@ -227,8 +227,13 @@ public class ParserPrinter {
try {
result.render( renderer );
} catch ( AlignmentException aex ) {
result = ObjectAlignment.toObjectAlignment( (URIAlignment)result );
result.render( renderer );
try {
result = ObjectAlignment.toObjectAlignment( (URIAlignment)result );
result.render( renderer );
} catch ( Exception aex2 ) {
// Throw the initial one
throw aex;
}
}
writer.flush();
writer.close();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment