docs: public Server build() throws ServerException {
          try {
              return AccessController.doPrivileged(new PrivilegedExceptionAction<Server>() {
  
                  @Override
                  public Server run() {
                      return buildWithPriv();
                  }
              });
          } catch (PrivilegedActionException e) {
              Exception target = e.getException();
              if (target instanceof ServerException) {
                  throw (ServerException) target;
              } else if (target instanceof RuntimeException) {
                  throw (RuntimeException) target;
              } else {
                  throw new InvalidInstallException(target);
              }
          }
      }