code: public static void add(Throwable throwable, Frame[] frames) {
          Map<Throwable, Frame[]> weakMap = cache.get();
          weakMap.put(throwable, frames);
      }
docs: Store the per-frame local variable information for the last exception thrown on this thread.
  
  @param throwable Throwable that the provided {@link Frame}s represent.
  @param frames Array of {@link Frame}s to store