code: void fireProgressEvent(int state, int progress, String message, boolean allowCancel) throws InstallException {
          log(Level.FINEST, message);
          if (enableEvent) {
              try {
                  eventManager.fireProgressEvent(state, progress, message);
              } catch (CancelException ce) {
                  if (allowCancel)
                      throw ce;
                  else
                      log(Level.FINEST, "fireProgressEvent caught cancel exception: " + ce.getMessage());
              } catch (Exception e) {
                  log(Level.FINEST, "fireProgressEvent caught exception: " + e.getMessage());
              }
          }
      }
docs: Creates a Progress event message that can handle cancel exceptions.
  
  @param state the state integer
  @param progress the progress integer
  @param message the message to be displayed
  @param allowCancel if cancel exceptions should be handled
  @throws InstallException