diff options
Diffstat (limited to 'lib/Service/Exceptions/ServiceException.php')
-rw-r--r-- | lib/Service/Exceptions/ServiceException.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/Service/Exceptions/ServiceException.php b/lib/Service/Exceptions/ServiceException.php new file mode 100644 index 000000000..7ee53bef9 --- /dev/null +++ b/lib/Service/Exceptions/ServiceException.php @@ -0,0 +1,28 @@ +<?php +/** + * Nextcloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino <cosenal@gmail.com> + * @author Bernhard Posselt <dev@bernhard-posselt.com> + * @copyright 2012 Alessandro Cosentino + * @copyright 2012-2014 Bernhard Posselt + */ + +namespace OCA\News\Service\Exceptions; + +class ServiceException extends \Exception +{ + + /** + * Constructor + * + * @param string $msg the error message + */ + public function __construct($msg) + { + parent::__construct($msg); + } +} |