Fixed catch to properly propagate exception

This commit is contained in:
Luca Frosini 2020-02-05 16:22:33 +01:00
parent 3bbcccca79
commit 1488506060
1 changed files with 2 additions and 0 deletions

View File

@ -400,6 +400,8 @@ public class SchemaManagementImpl implements SchemaManagement {
return TypeMapper.serializeTypeDefinitions(typeDefinitions);
} catch(SchemaException e) {
throw e;
} catch(SchemaNotFoundException e) {
throw e;
} catch(Exception e) {
throw new SchemaException(e);
} finally {