MigrationException.php 463 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace OC\DB;
  8. class MigrationException extends \Exception {
  9. private $table;
  10. public function __construct($table, $message) {
  11. $this->table = $table;
  12. parent::__construct($message);
  13. }
  14. /**
  15. * @return string
  16. */
  17. public function getTable() {
  18. return $this->table;
  19. }
  20. }