code: public Validation validate(@PName("context") Context context, @PName("pid") String pid,
                                 @PName("asOfDateTime") Date asOfDateTime) throws ServerException {
          throw rejectCallsFromOutsideWhileInRecoveryMode();
      }
docs: Reject API calls from outside while we are in recovery mode.