2014-01-29 09:48:12 -05:00
|
|
|
<?php
|
2024-05-23 03:26:56 -04:00
|
|
|
|
2014-01-29 09:48:12 -05:00
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2014-01-29 09:48:12 -05:00
|
|
|
*/
|
|
|
|
|
namespace OC\DB;
|
|
|
|
|
|
|
|
|
|
class MigrationException extends \Exception {
|
2025-11-17 09:32:54 -05:00
|
|
|
public function __construct(
|
2025-11-18 11:36:29 -05:00
|
|
|
private string $table,
|
2025-11-17 09:32:54 -05:00
|
|
|
$message,
|
|
|
|
|
) {
|
2014-01-29 09:48:12 -05:00
|
|
|
parent::__construct($message);
|
|
|
|
|
}
|
2014-05-07 06:53:42 -04:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return string
|
|
|
|
|
*/
|
2025-11-18 11:36:29 -05:00
|
|
|
public function getTable(): string {
|
2014-05-07 06:53:42 -04:00
|
|
|
return $this->table;
|
|
|
|
|
}
|
2014-01-29 09:48:12 -05:00
|
|
|
}
|