monitoring: Move CommandTransportException to the monitoring's exception namespace
This commit is contained in:
parent
4536eacd66
commit
b2fb0a836f
|
@ -7,9 +7,9 @@ use Exception;
|
||||||
use RuntimeException;
|
use RuntimeException;
|
||||||
use Icinga\Application\Logger;
|
use Icinga\Application\Logger;
|
||||||
use Icinga\Exception\ConfigurationError;
|
use Icinga\Exception\ConfigurationError;
|
||||||
use Icinga\Module\Monitoring\Command\Exception\CommandTransportException;
|
|
||||||
use Icinga\Module\Monitoring\Command\IcingaCommand;
|
use Icinga\Module\Monitoring\Command\IcingaCommand;
|
||||||
use Icinga\Module\Monitoring\Command\Renderer\IcingaCommandFileCommandRenderer;
|
use Icinga\Module\Monitoring\Command\Renderer\IcingaCommandFileCommandRenderer;
|
||||||
|
use Icinga\Module\Monitoring\Exception\CommandTransportException;
|
||||||
use Icinga\Util\File;
|
use Icinga\Util\File;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -6,9 +6,9 @@ namespace Icinga\Module\Monitoring\Command\Transport;
|
||||||
use Icinga\Application\Logger;
|
use Icinga\Application\Logger;
|
||||||
use Icinga\Data\ResourceFactory;
|
use Icinga\Data\ResourceFactory;
|
||||||
use Icinga\Exception\ConfigurationError;
|
use Icinga\Exception\ConfigurationError;
|
||||||
use Icinga\Module\Monitoring\Command\Exception\CommandTransportException;
|
|
||||||
use Icinga\Module\Monitoring\Command\IcingaCommand;
|
use Icinga\Module\Monitoring\Command\IcingaCommand;
|
||||||
use Icinga\Module\Monitoring\Command\Renderer\IcingaCommandFileCommandRenderer;
|
use Icinga\Module\Monitoring\Command\Renderer\IcingaCommandFileCommandRenderer;
|
||||||
|
use Icinga\Module\Monitoring\Exception\CommandTransportException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A remote Icinga command file
|
* A remote Icinga command file
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
||||||
|
|
||||||
namespace Icinga\Module\Monitoring\Command\Exception;
|
namespace Icinga\Module\Monitoring\Exception;
|
||||||
|
|
||||||
use Icinga\Exception\IcingaException;
|
use Icinga\Exception\IcingaException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exception thrown if a command was not sent
|
* Exception thrown if a command was not sent
|
||||||
*/
|
*/
|
||||||
class TransportException extends IcingaException
|
class CommandTransportException extends IcingaException
|
||||||
{
|
{
|
||||||
}
|
}
|
Loading…
Reference in New Issue