|
|
|
@ -23,6 +23,16 @@ if($sContainer->sCurrentStatus != CVM_STATUS_STOPPED)
|
|
|
|
|
$err = new CPHPErrorHandler(CPHP_ERRORHANDLER_TYPE_SUCCESS, $locale->strings['error-stop-success-title'], $locale->strings['error-stop-success-text']);
|
|
|
|
|
$sError .= $err->Render();
|
|
|
|
|
}
|
|
|
|
|
catch (ContainerSuspendedException $e)
|
|
|
|
|
{
|
|
|
|
|
$err = new CPHPErrorHandler(CPHP_ERRORHANDLER_TYPE_ERROR, $locale->strings['error-stop-suspended-title'], $locale->strings['error-stop-suspended-text']);
|
|
|
|
|
$sError .= $err->Render();
|
|
|
|
|
}
|
|
|
|
|
catch (ContainerTerminatedException $e)
|
|
|
|
|
{
|
|
|
|
|
$err = new CPHPErrorHandler(CPHP_ERRORHANDLER_TYPE_ERROR, $locale->strings['error-stop-terminated-title'], $locale->strings['error-stop-terminated-text']);
|
|
|
|
|
$sError .= $err->Render();
|
|
|
|
|
}
|
|
|
|
|
catch(ContainerStopException $e)
|
|
|
|
|
{
|
|
|
|
|
$err = new CPHPErrorHandler(CPHP_ERRORHANDLER_TYPE_ERROR, $locale->strings['error-stop-failed-title'], $locale->strings['error-stop-failed-text']);
|
|
|
|
|