monitoring: Move CommandTransportException to the monitoring's exception namespace

This commit is contained in:
Eric Lippmann 2015-07-28 12:14:01 +02:00
parent 4536eacd66
commit b2fb0a836f
3 changed files with 4 additions and 4 deletions

View File

@ -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;
/** /**

View 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

View 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
{ {
} }