Project

General

Profile

« Previous | Next » 

Revision 7062

throw not authorized when attempting to getReplica as an invalid/non-existent node

View differences:

src/edu/ucsb/nceas/metacat/dataone/CNodeService.java
1102 1102
          String msg = "There is no Member Node registered with a node subject " +
1103 1103
              "matching " + targetNodeSubject.getValue();
1104 1104
          logMetacat.info(msg);
1105
          throw new ServiceFailure("4872", msg);
1105
          throw new NotAuthorized("4871", msg);
1106 1106
          
1107 1107
      }
1108 1108
      

Also available in: Unified diff