зеркало из https://github.com/nextcloud/gallery.git
32 строки
624 B
PHP
32 строки
624 B
PHP
<?php
|
|
/**
|
|
* ownCloud - gallery
|
|
*
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
* later. See the COPYING file.
|
|
*
|
|
* @author Olivier Paroz <owncloud@interfasys.ch>
|
|
*
|
|
* @copyright Olivier Paroz 2014-2015
|
|
*/
|
|
|
|
namespace OCA\Gallery\Service;
|
|
|
|
use OCP\Util;
|
|
|
|
/**
|
|
* Thrown when the service cannot reply to a request
|
|
*/
|
|
class ServiceException extends \Exception {
|
|
|
|
/**
|
|
* Constructor
|
|
*
|
|
* @param string $msg the message contained in the exception
|
|
*/
|
|
public function __construct($msg) {
|
|
Util::writeLog('gallery', 'Exception: ' . $msg, Util::ERROR);
|
|
parent::__construct($msg);
|
|
}
|
|
}
|