Project

General

Profile

« Previous | Next » 

Revision 6508

catch datapackage parsing errors as before

View differences:

src/edu/ucsb/nceas/metacat/MetacatHandler.java
3516 3516
      throws McdbException, McdbDocNotFoundException, SQLException, 
3517 3517
      IOException, AccessionNumberException, ClassNotFoundException,
3518 3518
      InsufficientKarmaException, ParseLSIDException, PropertyNotFoundException,
3519
      BaseException, NoSuchAlgorithmException, JiBXException, Exception
3519
      BaseException, NoSuchAlgorithmException, JiBXException
3520 3520
    {
3521 3521
      logMetacat.debug("MetacatHandler.createSystemMetadata() called.");
3522 3522
      logMetacat.debug("provided localId: " + localId);
......
3738 3738
        } catch ( XPathExpressionException xpee ) {
3739 3739
          logMetacat.debug("There was a problem searching the EML document. " +
3740 3740
                           "The error message was: " + xpee.getMessage());
3741
        } 
3741
        } catch ( Exception e ) {
3742
            logMetacat.debug("There was a problem creating System Metadata. " +
3743
                    "The error message was: " + e.getMessage());
3744
        } // end try()
3742 3745
         
3743 3746
      } // end if()
3744 3747
      

Also available in: Unified diff