Project

General

Profile

« Previous | Next » 

Revision 10129

Added by Jing Tao almost 8 years ago

Change the calling code when the method insertOrUpdateDocument signature is changed.

View differences:

src/edu/ucsb/nceas/metacat/dataone/MNodeService.java
531 531
                    }
532 532

  
533 533
                } catch (IOException e) {
534
                    String msg = "The Node is unable to create the object. " + "There was a problem converting the object to XML";
535
                    logMetacat.info(msg);
534
                    String msg = "The Node is unable to create the object: "+pid.getValue() + "There was a problem converting the object to XML";
535
                    logMetacat.error(msg, e);
536 536
                    throw new ServiceFailure("1310", msg + ": " + e.getMessage());
537 537

  
538
                }  catch (PropertyNotFoundException e) {
539
                    String msg = "The Node is unable to create the object. " +pid.getValue()+ " since the properties are not configured well "+e.getMessage();
540
                    logMetacat.error(msg, e);
541
                    throw new ServiceFailure("1310", msg);
538 542
                }
539 543

  
540 544
            } else {

Also available in: Unified diff