.htaccess
1 year ago
AjaxException.php
1 year ago
ArchiveException.php
1 year ago
BackupException.php
1 year ago
ConfigException.php
1 year ago
ConnectionException.php
1 year ago
CronException.php
1 year ago
CrontabException.php
1 year ago
DBException.php
1 year ago
DestinationException.php
1 year ago
DirIteratorException.php
1 year ago
DirIteratorFileIOException.php
1 year ago
DirIteratorFileVanishedException.php
1 year ago
DownloaderException.php
1 year ago
ExecutionTimeException.php
1 year ago
ExportException.php
1 year ago
ExtractException.php
1 year ago
FieldsValidationException.php
1 year ago
GzipException.php
1 year ago
HttpRequestException.php
1 year ago
IOException.php
1 year ago
IOVanishedException.php
1 year ago
JBException.php
1 year ago
JetBackupLinuxException.php
1 year ago
LicenseException.php
1 year ago
LogException.php
1 year ago
NotificationException.php
1 year ago
QueueException.php
1 year ago
RegistrationException.php
1 year ago
ReindexException.php
1 year ago
RestoreException.php
1 year ago
SGBExtractorException.php
1 year ago
SGBMigrationException.php
1 year ago
ScheduleException.php
1 year ago
SnapshotMetaException.php
1 year ago
TaskException.php
1 year ago
UserInputException.php
1 year ago
ValidationException.php
1 year ago
VanishedException.php
1 year ago
index.html
1 year ago
web.config
1 year ago
GzipException.php
18 lines
| 1 | <?php |
| 2 | |
| 3 | namespace JetBackup\Exception; |
| 4 | |
| 5 | if (!defined( '__JETBACKUP__')) die('Direct access is not allowed'); |
| 6 | |
| 7 | use Exception; |
| 8 | use JetBackup\Alert\Alert; |
| 9 | use Throwable; |
| 10 | |
| 11 | class GzipException extends Exception { |
| 12 | public function __construct( $message = null, $code = 0, Throwable $previous = null ) { |
| 13 | // make sure everything is assigned properly |
| 14 | parent::__construct( $message, $code, $previous ); |
| 15 | Alert::add('GzipCompressorException Error', $message, Alert::LEVEL_CRITICAL); |
| 16 | } |
| 17 | |
| 18 | } |