-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
357 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
FriendsOfRedaxo/addon/UsageCheck/Exception/InvalidParameterException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
/* | ||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license | ||
* Click nbfs://nbhost/SystemFileSystem/Templates/Scripting/PHPClass.php to edit this template | ||
*/ | ||
namespace FriendsOfRedaxo\addon\UsageCheck\Exception; | ||
|
||
use Exception; | ||
|
||
/** | ||
* Datei für ... | ||
* | ||
* @version 1.0 / 2024-03-24 | ||
* @author akrys | ||
*/ | ||
|
||
/** | ||
* Description of InvalidParameterException | ||
* | ||
* @author akrys | ||
*/ | ||
class InvalidParameterException extends Exception | ||
{ | ||
//put your code here | ||
} |
37 changes: 37 additions & 0 deletions
37
FriendsOfRedaxo/addon/UsageCheck/Exception/MediaNotFoundException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
|
||
/* | ||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license | ||
* Click nbfs://nbhost/SystemFileSystem/Templates/Scripting/PHPClass.php to edit this template | ||
*/ | ||
namespace FriendsOfRedaxo\addon\UsageCheck\Exception; | ||
|
||
/** | ||
* Datei für ... | ||
* | ||
* @version 1.0 / 2024-03-24 | ||
* @author akrys | ||
*/ | ||
|
||
/** | ||
* Description of MediumNotFoundException | ||
* | ||
* @author akrys | ||
*/ | ||
class MediaNotFoundException extends \Exception | ||
{ | ||
|
||
public function __construct( | ||
private string $filename, | ||
string $message = "", | ||
int $code = 0, | ||
?\Throwable $previous = null | ||
) { | ||
parent::__construct($message, $code, $previous); | ||
} | ||
|
||
public function getFilename(): string | ||
{ | ||
return $this->filename; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.