code: protected static TypeReference getTypeReference(Class aClass) throws MovieDbException {
          if (TYPE_REFS.containsKey(aClass)) {
              return TYPE_REFS.get(aClass);
          } else {
              throw new MovieDbException(ApiExceptionType.UNKNOWN_CAUSE, "Class type reference for '" + aClass.getSimpleName() + "' not found!");
          }
      }
docs: Helper function to get a pre-generated TypeReference for a class
  
  @param aClass
  @return
  @throws MovieDbException