code: public static void requireAccess (ClientObject clobj, Permission perm, Object context)
          throws InvocationException
      {
          String errmsg = clobj.checkAccess(perm, context);
          if (errmsg != null) {
              throw new InvocationException(errmsg);
          }
      }
docs: Requires that the specified client have the specified permissions.
  
  @throws InvocationException if they do not.