Create exception interfaces
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of Cachet.
|
||||||
|
*
|
||||||
|
* (c) Alt Three Services Limited
|
||||||
|
*
|
||||||
|
* For the full copyright and license information, please view the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace CachetHQ\Cachet\Bus\Exceptions\Component;
|
||||||
|
|
||||||
|
use CachetHQ\Cachet\Bus\Exceptions\ExceptionInterface;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is the component exception interface.
|
||||||
|
*
|
||||||
|
* @author James Brooks <james@alt-three.com>
|
||||||
|
*/
|
||||||
|
interface ComponentExceptionInterface extends ExceptionInterface
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of Cachet.
|
||||||
|
*
|
||||||
|
* (c) Alt Three Services Limited
|
||||||
|
*
|
||||||
|
* For the full copyright and license information, please view the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace CachetHQ\Cachet\Bus\Exceptions\ComponentGroup;
|
||||||
|
|
||||||
|
use CachetHQ\Cachet\Bus\Exceptions\ExceptionInterface;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is the component group exception interface.
|
||||||
|
*
|
||||||
|
* @author James Brooks <james@alt-three.com>
|
||||||
|
*/
|
||||||
|
interface ComponentGroupExceptionInterface extends ExceptionInterface
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of Cachet.
|
||||||
|
*
|
||||||
|
* (c) Alt Three Services Limited
|
||||||
|
*
|
||||||
|
* For the full copyright and license information, please view the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace CachetHQ\Cachet\Bus\Exceptions\Incident;
|
||||||
|
|
||||||
|
use CachetHQ\Cachet\Bus\Exceptions\ExceptionInterface;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is the incident exception interface.
|
||||||
|
*
|
||||||
|
* @author James Brooks <james@alt-three.com>
|
||||||
|
*/
|
||||||
|
interface IncidentExceptionInterface extends ExceptionInterface
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
@@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace CachetHQ\Cachet\Bus\Exceptions\Incident;
|
namespace CachetHQ\Cachet\Bus\Exceptions\Incident;
|
||||||
|
|
||||||
use CachetHQ\Cachet\Bus\Exceptions\ExceptionInterface;
|
|
||||||
use Exception;
|
use Exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -19,7 +18,7 @@ use Exception;
|
|||||||
*
|
*
|
||||||
* @author James Brooks <james@alt-three.com>
|
* @author James Brooks <james@alt-three.com>
|
||||||
*/
|
*/
|
||||||
class InvalidIncidentTimestampException extends Exception implements ExceptionInterface
|
class InvalidIncidentTimestampException extends Exception implements IncidentExceptionInterface
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of Cachet.
|
||||||
|
*
|
||||||
|
* (c) Alt Three Services Limited
|
||||||
|
*
|
||||||
|
* For the full copyright and license information, please view the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace CachetHQ\Cachet\Bus\Exceptions\IncidentUpdate;
|
||||||
|
|
||||||
|
use CachetHQ\Cachet\Bus\Exceptions\ExceptionInterface;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is the incident update exception interface.
|
||||||
|
*
|
||||||
|
* @author James Brooks <james@alt-three.com>
|
||||||
|
*/
|
||||||
|
interface IncidentUpdateExceptionInterface extends ExceptionInterface
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of Cachet.
|
||||||
|
*
|
||||||
|
* (c) Alt Three Services Limited
|
||||||
|
*
|
||||||
|
* For the full copyright and license information, please view the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace CachetHQ\Cachet\Bus\Exceptions\Metric;
|
||||||
|
|
||||||
|
use CachetHQ\Cachet\Bus\Exceptions\ExceptionInterface;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is the metric exception interface.
|
||||||
|
*
|
||||||
|
* @author James Brooks <james@alt-three.com>
|
||||||
|
*/
|
||||||
|
interface MetricExceptionInterface extends ExceptionInterface
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of Cachet.
|
||||||
|
*
|
||||||
|
* (c) Alt Three Services Limited
|
||||||
|
*
|
||||||
|
* For the full copyright and license information, please view the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace CachetHQ\Cachet\Bus\Exceptions\MetricPoint;
|
||||||
|
|
||||||
|
use CachetHQ\Cachet\Bus\Exceptions\ExceptionInterface;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is the metric point exception interface.
|
||||||
|
*
|
||||||
|
* @author James Brooks <james@alt-three.com>
|
||||||
|
*/
|
||||||
|
interface MetricPointExceptionInterface extends ExceptionInterface
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of Cachet.
|
||||||
|
*
|
||||||
|
* (c) Alt Three Services Limited
|
||||||
|
*
|
||||||
|
* For the full copyright and license information, please view the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace CachetHQ\Cachet\Bus\Exceptions\Schedule;
|
||||||
|
|
||||||
|
use CachetHQ\Cachet\Bus\Exceptions\ExceptionInterface;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is the schedule exception interface.
|
||||||
|
*
|
||||||
|
* @author James Brooks <james@alt-three.com>
|
||||||
|
*/
|
||||||
|
interface ScheduleExceptionInterface extends ExceptionInterface
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of Cachet.
|
||||||
|
*
|
||||||
|
* (c) Alt Three Services Limited
|
||||||
|
*
|
||||||
|
* For the full copyright and license information, please view the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace CachetHQ\Cachet\Bus\Exceptions\Subscriber;
|
||||||
|
|
||||||
|
use CachetHQ\Cachet\Bus\Exceptions\ExceptionInterface;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is the subscriber exception interface.
|
||||||
|
*
|
||||||
|
* @author James Brooks <james@alt-three.com>
|
||||||
|
*/
|
||||||
|
interface SubscriberExceptionInterface extends ExceptionInterface
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of Cachet.
|
||||||
|
*
|
||||||
|
* (c) Alt Three Services Limited
|
||||||
|
*
|
||||||
|
* For the full copyright and license information, please view the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace CachetHQ\Cachet\Bus\Exceptions\User;
|
||||||
|
|
||||||
|
use CachetHQ\Cachet\Bus\Exceptions\ExceptionInterface;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is the user exception interface.
|
||||||
|
*
|
||||||
|
* @author James Brooks <james@alt-three.com>
|
||||||
|
*/
|
||||||
|
interface UserExceptionInterface extends ExceptionInterface
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user