docs: public void throwException(CmsMessageContainer message, Throwable throwable) throws CmsVfsException, CmsException {
  
          if (throwable instanceof CmsException) {
              throw ((CmsException)throwable).createException(message, throwable);
          } else if (throwable instanceof CmsRuntimeException) {
              throw ((CmsRuntimeException)throwable).createException(message, throwable);
          } else {
              throw new CmsVfsException(message, throwable);
          }
      }