code: public Date modifyDatastreamByValue(Context context,
                                          String pid,
                                          String datastreamID,
                                          String[] altIDs,
                                          String dsLabel,
                                          String mimeType,
                                          String formatURI,
                                          InputStream dsContent,
                                          String checksumType,
                                          String checksum,
                                          String logMessage,
                                          Date lastModifiedDate) throws ServerException {
          throw rejectCallsFromOutsideWhileInRecoveryMode();
      }
docs: Reject API calls from outside while we are in recovery mode.