Revision 6394
Added by ben leinfelder over 13 years ago
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
use InvalidRequest when the PID is not found. https://redmine.dataone.org/issues/1768