Fixed catch to properly propagate exception
This commit is contained in:
parent
3bbcccca79
commit
1488506060
|
@ -400,6 +400,8 @@ public class SchemaManagementImpl implements SchemaManagement {
|
||||||
return TypeMapper.serializeTypeDefinitions(typeDefinitions);
|
return TypeMapper.serializeTypeDefinitions(typeDefinitions);
|
||||||
} catch(SchemaException e) {
|
} catch(SchemaException e) {
|
||||||
throw e;
|
throw e;
|
||||||
|
} catch(SchemaNotFoundException e) {
|
||||||
|
throw e;
|
||||||
} catch(Exception e) {
|
} catch(Exception e) {
|
||||||
throw new SchemaException(e);
|
throw new SchemaException(e);
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue