[#4547] Package is not generated when an exception is thrown
This commit is contained in:
parent
f82ef660e4
commit
ddf0836f2a
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@ -97,7 +97,7 @@ extends AbstractDefinition {
|
||||
elements = e;
|
||||
}
|
||||
}
|
||||
catch (SQLException e) {
|
||||
catch (Exception e) {
|
||||
log.error("Error while initialising type", e);
|
||||
}
|
||||
}
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user