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:
23
core/lib/Thelia/Exception/FileNotFoundException.php
Normal file
23
core/lib/Thelia/Exception/FileNotFoundException.php
Normal 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
|
||||
{
|
||||
|
||||
}
|
||||
23
core/lib/Thelia/Exception/FileNotReadableException.php
Normal file
23
core/lib/Thelia/Exception/FileNotReadableException.php
Normal 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
|
||||
{
|
||||
|
||||
}
|
||||
23
core/lib/Thelia/Exception/HttpUrlException.php
Normal file
23
core/lib/Thelia/Exception/HttpUrlException.php
Normal 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
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user