Commit | Line | Data |
---|---|---|
4b57bc9f EM |
1 | <?php |
2 | /** | |
3 | * Created by PhpStorm. | |
4 | * User: eileen | |
5 | * Date: 8/12/2014 | |
6 | * Time: 10:33 AM | |
7 | */ | |
8 | ||
9 | class CRM_Contribute_Exception_InactiveContributionPageException extends Exception{ | |
10 | private $id; | |
11 | public function __construct($message, $id) { | |
12 | parent::__construct(ts($message)); | |
13 | $this->id = $id; | |
14 | CRM_Core_Error::debug_log_message('inactive contribution page access attempted - page number ' . $id); | |
15 | } | |
16 | ||
17 | public function getID() { | |
18 | return $this->id; | |
19 | } | |
20 | } |