INFRA-132 - CRM/ - Fix misc oddball syntax
[civicrm-core.git] / CRM / Contribute / Exception / InactiveContributionPageException.php
1 <?php
2 /**
3 * Created by PhpStorm.
4 * User: eileen
5 * Date: 8/12/2014
6 * Time: 10:33 AM
7 */
8 class CRM_Contribute_Exception_InactiveContributionPageException extends Exception {
9 private $id;
10 public function __construct($message, $id) {
11 parent::__construct(ts($message));
12 $this->id = $id;
13 CRM_Core_Error::debug_log_message('inactive contribution page access attempted - page number ' . $id);
14 }
15
16 public function getID() {
17 return $this->id;
18 }
19 }