Project

General

Profile

« Previous | Next » 

Revision 9523

Added by Jing Tao almost 9 years ago

In the isScienceMetacata method, the ServiceFailure exception shouldn't be caught anymore, since the code doesn't throw it.

View differences:

src/edu/ucsb/nceas/metacat/dataone/D1NodeService.java
1263 1263
      }
1264 1264
      
1265 1265
       
1266
    } catch (ServiceFailure e) {
1266
    /*} catch (ServiceFailure e) {
1267 1267
      logMetacat.debug("There was a problem determining if the object identified by" + 
1268 1268
          sysmeta.getIdentifier().getValue() + 
1269
          " is science metadata: " + e.getMessage());
1269
          " is science metadata: " + e.getMessage());*/
1270 1270
    
1271 1271
    } catch (NotFound e) {
1272 1272
      logMetacat.debug("There was a problem determining if the object identified by" + 

Also available in: Unified diff