code: public final static Class<?> getCompiledClass(String className, boolean useCache) throws CompilationException, ClassLoadException {
          try {
              if (! useCache) {
                  
                  /*String compilationResult = compileClass(className);
                  System.out.println("************ compilationResult   " + compilationResult);
                  if (compilationResult.contains("cannot read")) {
                      throw new ClassLoadException(compilationResult);
                  }
                  if (compilationResult.contains("error")) {
                      throw new CompilationException(compilationResult);
                  }*/
  
                  DynamicClassLoader dynamicClassLoader = new DynamicClassLoader(DynamicClassFactory.class.getClassLoader());
                  return dynamicClassLoader.loadClass(className);
              } else {
                  return CACHED_CONTROLLERS.computeIfAbsent(className, WRAP_FORNAME);
              }
          } catch (CompilationException e) {
              throw e; // so the exception doesn't get caught by the more general catch(Exception)
          } catch (Exception e) {
              throw new ClassLoadException(e);
          }
      }
docs: Handles caching of classes if not active_reload
  @param className
  @param useCache flag to specify whether to cache the controller or not
  @return
  @throws CompilationException
  @throws ClassLoadException