mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

lutoff
27.26.2007 ad74bf0a2cc09d0036a12793848b975e7b16eaa6
opends/src/quicksetup/org/opends/quicksetup/util/ServerController.java
@@ -204,10 +204,10 @@
          * The return code is not the one expected, assume the server could
          * not be stopped.
          */
          throw new ApplicationException(ApplicationException.Type.STOP_ERROR,
                  ResourceProvider.getInstance().getMsg(
                          "error-stopping-server-code",
                          String.valueOf(returnValue)),
          throw new ApplicationException(
              ApplicationReturnCode.ReturnCode.STOP_ERROR, ResourceProvider
                  .getInstance().getMsg("error-stopping-server-code",
                      String.valueOf(returnValue)),
                  null);
        } else {
          if (application != null) {
@@ -219,8 +219,9 @@
        }
      } catch (Exception e) {
        throw new ApplicationException(ApplicationException.Type.STOP_ERROR,
                getThrowableMsg("error-stopping-server", e), e);
        throw new ApplicationException(
            ApplicationReturnCode.ReturnCode.STOP_ERROR, getThrowableMsg(
                "error-stopping-server", e), e);
      }
    } finally {
      if (suppressOutput && StandardOutputSuppressor.isSuppressed()) {
@@ -437,7 +438,7 @@
          if (Utils.isWindows())
          {
            throw new ApplicationException(
                ApplicationException.Type.START_ERROR,
                ApplicationReturnCode.ReturnCode.START_ERROR,
                    getMsg("error-starting-server-in-windows",
                            String.valueOf(port)),
                    null);
@@ -445,7 +446,7 @@
          else
          {
            throw new ApplicationException(
                ApplicationException.Type.START_ERROR,
                ApplicationReturnCode.ReturnCode.START_ERROR,
                    getMsg("error-starting-server-in-unix",
                            String.valueOf(port)),
                    null);
@@ -455,9 +456,9 @@
    } catch (IOException ioe)
    {
      throw new ApplicationException(ApplicationException.Type.START_ERROR,
              getThrowableMsg("error-starting-server", ioe),
              ioe);
      throw new ApplicationException(
            ApplicationReturnCode.ReturnCode.START_ERROR, getThrowableMsg(
                "error-starting-server", ioe), ioe);
    }
  } finally {
      if (suppressOuput && StandardOutputSuppressor.isSuppressed()) {
@@ -611,9 +612,9 @@
            }
          } catch (Throwable t)
          {
            ex =
                new ApplicationException(ApplicationException.Type.START_ERROR,
                    getThrowableMsg(errorTag, t), t);
            ex = new ApplicationException(
                ApplicationReturnCode.ReturnCode.START_ERROR,
                getThrowableMsg(errorTag, t), t);
          }
          isFinished = true;