Project

General

Profile

« Previous | Next » 

Revision 6394

use InvalidRequest when the PID is not found. https://redmine.dataone.org/issues/1768

View differences:

src/edu/ucsb/nceas/metacat/dataone/MNodeService.java
940 940
    try {
941 941
      localId = IdentifierManager.getInstance().getLocalId(syncFailed.getPid());
942 942
    } catch (McdbDocNotFoundException e) {
943
      throw new ServiceFailure("2161", "The identifier specified by " +
943
      throw new InvalidRequest("2163", "The identifier specified by " +
944 944
          syncFailed.getPid() + 
945 945
          " was not found on this node.");
946 946
      

Also available in: Unified diff