[#4547] Package is not generated when an exception is thrown

This commit is contained in:
lukaseder 2015-09-14 18:50:49 +02:00
parent f82ef660e4
commit ddf0836f2a
4 changed files with 6 additions and 6 deletions

View File

@ -278,7 +278,7 @@ public abstract class AbstractDatabase implements Database {
try {
schemata = getSchemata0();
}
catch (SQLException e) {
catch (Exception e) {
log.error("Could not load schemata", e);
}
@ -323,7 +323,7 @@ public abstract class AbstractDatabase implements Database {
inputSchemata.add(schema.getName());
}
}
catch (SQLException e) {
catch (Exception e) {
log.error("Could not load schemata", e);
}
}

View File

@ -97,7 +97,7 @@ extends AbstractDefinition {
elements = e;
}
}
catch (SQLException e) {
catch (Exception e) {
log.error("Error while initialising type", e);
}
}

View File

@ -74,7 +74,7 @@ public abstract class AbstractPackageDefinition extends AbstractDefinition imple
try {
routines = getRoutines0();
}
catch (SQLException e) {
catch (Exception e) {
log.error("Error while initialising package", e);
}
}
@ -92,7 +92,7 @@ public abstract class AbstractPackageDefinition extends AbstractDefinition imple
try {
constants = getConstants0();
}
catch (SQLException e) {
catch (Exception e) {
log.error("Error while initialising package", e);
}
}

View File

@ -104,7 +104,7 @@ public abstract class AbstractRoutineDefinition extends AbstractDefinition imple
init0();
}
catch (SQLException e) {
catch (Exception e) {
log.error("Error while initialising routine", e);
}
}