Close current step if any and move to next one.

@param translationKey the key used to find the translation of the step message
@param message the default message associated to the step
@param arguments the arguments to insert in the step message
551408
public void startStep(String translationKey, String message, Object... arguments)
    {
        this.progress.startStep(this, new Message(translationKey, message, arguments));
    }
1287745
public String localize(PrefixKind pk, String key, Object... args) {
        if (useRawMessages)
            return pk.key(key);
        else
            return messages.getLocalizedString(pk.key(key), args);
    }
149719
public final void messageLocked(AIStreamKey key)
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.entry(this, tc, "messageLocked", key);
    synchronized (this)
    {
      countOfUnlockedMessages--;
            
      if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
          SibTr.debug(tc, "readAhead change: countOfUnlockedMessages-- " + countOfUnlockedMessages);
    }
    try
    {
      if (readAhead)
        tryPrefetching();
    }
    catch (SIResourceException e)
    {
      FFDCFilter.processException(
        e,
        "com.ibm.ws.sib.processor.impl.RemoteQPConsumerKey.messageLocked",
        "1:663:1.47.1.26",
        this);
      SibTr.exception(tc, e);
      // no need to throw this exception, since its only a failure in prefetching
    }

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.exit(this, tc, "messageLocked");
  }
368669
public void fatal(String message, Object... args) {
    fatal(String.format(message, args), getThrowable(args));
  }
191204
public static final void logMessage(Level level, String key, Object... args) {
        if (WsLevel.AUDIT.equals(level))
            Tr.audit(tc, key, args);
        else if (WsLevel.ERROR.equals(level))
            Tr.error(tc, key, args);
        else if (Level.INFO.equals(level))
            Tr.info(tc, key, args);
        else if (Level.WARNING.equals(level))
            Tr.warning(tc, key, args);
        else
            throw new UnsupportedOperationException(level.toString());
    }
388006
public void error(String message, Object... args) {
    error(String.format(message, args), getThrowable(args));
  }
1207179
public DefaultJobProgressStep nextStep(Message stepMessage, Object newStepSource)
    {
        assertModifiable();

        // Close current step and move to the end
        finishStep();

        // Add new step
        return addStep(stepMessage, newStepSource);
    }
753280
@Override
    @SuppressFBWarnings("DM_EXIT")
    public void logError(String message) {
        System.err.println("Error: " + message);
        System.exit(1);
    }
158811
public String getMessage(final Locale locale, final String key) {
        return loadResource(locale).getMessage(key);
    }
228060
public void error(Enum<?> key, Object... args) {
        if (!logger.isErrorEnabled()) {
            return;
        }
        String translatedMsg = imc.getMessage(key, args);
        MessageParameterObj mpo = new MessageParameterObj(key, args);

        if (instanceofLAL) {
            ((LocationAwareLogger) logger).log(LOCALIZED, FQCN, LocationAwareLogger.ERROR_INT, translatedMsg, args, null);
        } else {
            logger.error(LOCALIZED, translatedMsg, mpo);
        }
    }
744057
public static String getMessage(String key, Object... args) {
        if (messages == null) {
            if (locale == null)
                locale = Locale.getDefault();
            messages = ResourceBundle.getBundle("com.ibm.ws.install.internal.resources.Repository", locale);
        }
        String message = messages.getString(key);
        if (args.length == 0)
            return message;
        MessageFormat messageFormat = new MessageFormat(message, locale);
        return messageFormat.format(args);
    }
175381
public void translate(TranslationService translationService) {
    if (translationService == null) {
      description.setValue(descriptionKey.getValue());
      return;
    }

    if (!Strings.isNullOrEmpty(descriptionKey.get())) {
      description.setValue(translationService.translate(descriptionKey.get()));
    }
  }
1320954
function TranslatedError( message, translationKey, translationOptions ) {
    this.message = message;
    this.translationKey = translationKey;
    this.translationOptions = translationOptions;
}
733546
void error(String key, Object... args) {
        if (apiMode) {
            String msg = log.localize(PrefixKind.JAVAC, key, args);
            throw new PropagatedException(new IllegalStateException(msg));
        }
        warning(key, args);
        log.printLines(PrefixKind.JAVAC, "msg.usage", ownName);
    }
479853
public void l7dlog(Priority priority, String key, Throwable t) {
        if (repository.isDisabled(priority.level)) {
            return;
        }
        if (priority.isGreaterOrEqual(this.getEffectiveLevel())) {
            String msg = getResourceBundleString(key);
            // if message corresponding to 'key' could not be found in the
            // resource bundle, then default to 'key'.
            if (msg == null) {
                msg = key;
            }
            forcedLog(FQCN, priority, msg, t);
        }
    }
946773
public static String getMessageForKey(String key, Object... args) {

        String result = null;
        if (hasDictionary()) {
            result = m_dictionary.get(key);
            if ((result != null) && (args != null) && (args.length > 0)) {
                for (int i = 0; i < args.length; i++) {
                    result = result.replace("{" + i + "}", String.valueOf(args[i]));
                }
            }
        }
        if (result == null) {
            result = "";
        }
        return result;
    }
449583
@Override
    public void close() {
        if (isClosed) {
            return;
        }

        TransactionOLTP localTx = localOLTPTransactionContainer.get();
        if (localTx != null) {
            localTx.close(ErrorMessage.SESSION_CLOSED.getMessage(keyspace()));
            localOLTPTransactionContainer.set(null);
        }

        if (this.onClose != null) {
            this.onClose.accept(this);
        }

        isClosed = true;
    }