code: public void translateToHotdeployErrorIfPossible(Error e) { // to notice reboot timing
          if (!ManagedHotdeploy.isHotdeploy()) {
              return;
          }
          final String msg = e.getMessage();
          if (msg == null) {
              return;
          }
          // only frequent patterns
          if (e instanceof NoSuchFieldError) {
              if (isNoSuchFieldOfHtmlPath(msg)) {
                  throwRebootAfterFreeGenError(e);
              }
          }
          if (e instanceof NoSuchMethodError) {
              if (isNoSuchMethodOfMessages(msg) || isNoSuchMethodOfConfig(msg)) {
                  throwRebootAfterFreeGenError(e);
              }
              if (isNoSuchMethodOfDBFlute(msg)) {
                  throwRebootAfterGenerateError(e);
              }
          }
      }
docs: ===============