code: public void checkResponse(RpcRequest request) throws IOException {
          if (getResponse().getRejectStatus() == RejectStatus.AUTH_ERROR.getValue()) {
              request.setUsePrivilegedPort(true);
          }
          if (getResponse().getState() != NfsStatus.NFS3_OK.getValue()) {
              int responseState = getResponse().getState();
              if (responseState == NfsStatus.NFS3ERR_NOENT.getValue()) {
                  throw new FileNotFoundException(request.getErrorMessage());
              }
              NfsStatus status = NfsStatus.fromValue(responseState);
              throw new NfsException(status, request.getErrorMessage() + " error code:" + status.toString());
          }
      }
docs: /*
  (non-Javadoc)
  
  @see
  com.emc.ecs.nfsclient.rpc.RpcResponseHandler#checkResponse(com.emc.ecs.
  nfsclient.rpc.RpcRequest)