Revision 6894
Added by Chris Jones almost 13 years ago
src/edu/ucsb/nceas/metacat/dataone/hazelcast/HazelcastService.java | ||
---|---|---|
27 | 27 |
package edu.ucsb.nceas.metacat.dataone.hazelcast; |
28 | 28 |
|
29 | 29 |
import java.io.FileNotFoundException; |
30 |
import java.sql.SQLException; |
|
30 | 31 |
import java.util.Collection; |
31 | 32 |
import java.util.Date; |
32 | 33 |
import java.util.concurrent.locks.Lock; |
... | ... | |
440 | 441 |
} catch (McdbDocNotFoundException e) { |
441 | 442 |
logMetacat.error( |
442 | 443 |
"Could not save System Metadata to local store.", e); |
443 |
} |
|
444 |
} catch (SQLException e) { |
|
445 |
logMetacat.error( |
|
446 |
"Could not save System Metadata to local store.", e); |
|
447 |
} |
|
444 | 448 |
} |
445 | 449 |
|
446 | 450 |
public void resynch() throws Exception { |
Also available in: Unified diff
Handle SQLExceptions when trying to save system metadata locally.