Add exceptions

nouveau fichier: core/lib/Thelia/Exception/FileNotFoundException.php
	nouveau fichier: core/lib/Thelia/Exception/FileNotReadableException.php
	nouveau fichier: core/lib/Thelia/Exception/HttpUrlException.php
This commit is contained in:
Benjamin Perche
2014-07-02 14:18:40 +02:00
parent 5f298aac75
commit ce3089e106
3 changed files with 69 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
/*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio */
/* email : dev@thelia.net */
/* web : http://www.thelia.net */
/* */
/* For the full copyright and license information, please view the LICENSE.txt */
/* file that was distributed with this source code. */
/*************************************************************************************/
namespace Thelia\Exception;
/**
* Class FileNotFoundException
* @package Thelia\Exception
* @author Benjamin Perche <bperche@openstudio.fr>
*/
class FileNotFoundException extends \Exception
{
}

View File

@@ -0,0 +1,23 @@
<?php
/*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio */
/* email : dev@thelia.net */
/* web : http://www.thelia.net */
/* */
/* For the full copyright and license information, please view the LICENSE.txt */
/* file that was distributed with this source code. */
/*************************************************************************************/
namespace Thelia\Exception;
/**
* Class FileNotReadableException
* @package Thelia\Exception
* @author Benjamin Perche <bperche@openstudio.fr>
*/
class FileNotReadableException extends \Exception
{
}

View File

@@ -0,0 +1,23 @@
<?php
/*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio */
/* email : dev@thelia.net */
/* web : http://www.thelia.net */
/* */
/* For the full copyright and license information, please view the LICENSE.txt */
/* file that was distributed with this source code. */
/*************************************************************************************/
namespace Thelia\Exception;
/**
* Class HttpUrlException
* @package Thelia\Exception
* @author Benjamin Perche <bperche@openstudio.fr>
*/
class HttpUrlException extends \Exception
{
}