Revision 51171c9d
Added by Andreas Müller about 13 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/berlinModel/in/BerlinModelImportBase.java | ||
---|---|---|
53 | 53 |
super(); |
54 | 54 |
} |
55 | 55 |
|
56 |
protected boolean doInvoke(BerlinModelImportState state){
|
|
56 |
protected void doInvoke(BerlinModelImportState state){
|
|
57 | 57 |
// String strTeamStore = ICdmIO.TEAM_STORE; |
58 | 58 |
BerlinModelImportConfigurator config = state.getConfig(); |
59 | 59 |
Source source = config.getSource(); |
... | ... | |
77 | 77 |
} |
78 | 78 |
} catch (SQLException e) { |
79 | 79 |
logger.error("SQLException:" + e); |
80 |
return false;
|
|
80 |
state.setUnsuccessfull();
|
|
81 | 81 |
} |
82 | 82 |
|
83 | 83 |
logger.info("end make " + getPluralString() + " ... " + getSuccessString(success)); |
84 |
return success; |
|
84 |
if (success == false){ |
|
85 |
state.setUnsuccessfull(); |
|
86 |
} |
|
87 |
return; |
|
85 | 88 |
} |
86 | 89 |
|
87 | 90 |
|
Also available in: Unified diff
last updates for Taxon Excel Import and moving all success variables to state