code: public void putResource(final Object key, final Object value) {
          if (key == null) {
              throw new IllegalArgumentException("key");
          }
          assertActive();
          getContext().putResource(key, value);
      }
docs: ==============