Revision 9220
Added by Jing Tao over 9 years ago
src/edu/ucsb/nceas/metacat/IdentifierManager.java | ||
---|---|---|
1180 | 1180 |
e.printStackTrace(); |
1181 | 1181 |
logMetacat.error("Error while creating " + TYPE_SYSTEM_METADATA + " record: " + guid, e ); |
1182 | 1182 |
dbConn.rollback(); |
1183 |
throw new SQLException("Can't save system metadata "+e.getMessage()); |
|
1183 | 1184 |
} finally { |
1184 | 1185 |
// Return database connection to the pool |
1185 | 1186 |
DBConnectionPool.returnDBConnection(dbConn, serialNumber); |
Also available in: Unified diff
Throw an exception if the saving system metadata fails.