Revision 9040
Added by Jing Tao about 10 years ago
src/edu/ucsb/nceas/metacat/dataone/MNodeService.java | ||
---|---|---|
729 | 729 |
InvalidRequest, NotImplemented { |
730 | 730 | |
731 | 731 |
Checksum checksum = null; |
732 | ||
732 |
String serviceFailure = "1410"; |
|
733 |
String notFound = "1420"; |
|
734 |
//Checkum only handles the pid, not sid |
|
735 |
checkV1SystemMetaPidExist(pid, serviceFailure, "The checksum for the object specified by "+pid.getValue()+" couldn't be returned ", notFound, |
|
736 |
"The object specified by "+pid.getValue()+" does not exist at this node."); |
|
733 | 737 |
InputStream inputStream = get(session, pid); |
734 | 738 | |
735 | 739 |
try { |
Also available in: Unified diff
Enforce the mn.getChecksum only to handle an PID.