Revision 9360
Added by Jing Tao over 8 years ago
CNodeService.java | ||
---|---|---|
646 | 646 |
D1NodeVersionChecker checker = new D1NodeVersionChecker(v2Sysmeta.getAuthoritativeMemberNode()); |
647 | 647 |
String version = checker.getVersion("MNStorage"); |
648 | 648 |
if(version == null) { |
649 |
throw new ServiceFailure("4862", "Couldn't determine the authoritative member node version of the MNStorge for the "+pid.getValue());
|
|
649 |
throw new ServiceFailure("4862", "Couldn't determine the authoritative member node storage version for the pid "+pid.getValue());
|
|
650 | 650 |
} else if (version.equalsIgnoreCase(D1NodeVersionChecker.V2)) { |
651 | 651 |
//we don't apply this method to an object whose authoritative node is v2 |
652 | 652 |
throw new NotAuthorized("4861", edu.ucsb.nceas.metacat.dataone.CNodeService.V2V1MISSMATCH); |
Also available in: Unified diff
Modify the text of an exception.