too early for custom Exception handler

This commit is contained in:
Jean-Christian Denis 2023-04-08 14:18:12 +02:00
parent e0e18f4988
commit e37ab45b7e
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
6 changed files with 5 additions and 21 deletions

View file

@ -28,6 +28,7 @@ use Dotclear\Helper\Html\Form\{
Para, Para,
Text Text
}; };
use Exception;
class Config extends dcNsProcess class Config extends dcNsProcess
{ {

View file

@ -20,6 +20,7 @@ use dcModules;
use Dotclear\Helper\File\Files; use Dotclear\Helper\File\Files;
use Dotclear\Helper\File\Path; use Dotclear\Helper\File\Path;
use Dotclear\Helper\File\Zip\Unzip; use Dotclear\Helper\File\Zip\Unzip;
use Exception;
class Core class Core
{ {

View file

@ -1,21 +0,0 @@
<?php
/**
* @brief pacKman, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Jean-Christian Denis
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
declare(strict_types=1);
namespace Dotclear\Plugin\pacKman;
use Exception as PhpException;
class Exception extends PhpException
{
}

View file

@ -17,6 +17,7 @@ namespace Dotclear\Plugin\pacKman;
use dcCore; use dcCore;
use dcNamespace; use dcNamespace;
use dcNsProcess; use dcNsProcess;
use Exception;
class Install extends dcNsProcess class Install extends dcNsProcess
{ {

View file

@ -21,6 +21,7 @@ use dcThemes;
use dcNsProcess; use dcNsProcess;
use Dotclear\Helper\File\Files; use Dotclear\Helper\File\Files;
use Dotclear\Helper\Network\Http; use Dotclear\Helper\Network\Http;
use Exception;
class Manage extends dcNsProcess class Manage extends dcNsProcess
{ {

View file

@ -29,6 +29,7 @@ use Dotclear\Helper\Html\Form\{
Text Text
}; };
use Dotclear\Helper\Html\Html; use Dotclear\Helper\Html\Html;
use Exception;
use dt; use dt;