code: public void validateConfiguration(String configuration) {
  
          try {
              JSONObject json = new JSONObject(configuration);
              String className = json.optString(CmsDataViewConstants.CONFIG_VIEW_CLASS);
  
              Class<?> cls = Class.forName(className, false, getClass().getClassLoader());
              if (!I_CmsDataView.class.isAssignableFrom(cls)) {
                  throw new IllegalArgumentException(
                      "Class " + cls.getName() + " does not implement " + I_CmsDataView.class.getName());
              }
          } catch (Exception e) {
              throw new CmsWidgetConfigurationException(e);
          }
  
      }
docs: Validates the configuration.<p>
  
  @param configuration the configuration