123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- if (!defined('GNUSOCIAL')) { exit(1); }
- class NoParentNoticeException extends ServerException
- {
- public $notice;
- public function __construct(Notice $notice)
- {
- $this->notice = $notice;
- parent::__construct(sprintf(_('No parent for notice with ID "%s".'), $this->notice->id));
- }
- }
|