~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to lib/Exception/InstanceSuspendedException.php

  • Committer: Dan Garner
  • Date: 2015-08-11 09:29:02 UTC
  • mto: This revision was merged to the branch mainline in revision 453.
  • Revision ID: git-v1:a86fb4369b7395c13367577d23b14c0ab4528c1a
Transitions fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
/*
3
 
 * Spring Signage Ltd - http://www.springsignage.com
4
 
 * Copyright (C) 2015 Spring Signage Ltd
5
 
 * (InstanceSuspendedException.php)
6
 
 */
7
 
 
8
 
 
9
 
namespace Xibo\Exception;
10
 
 
11
 
 
12
 
class InstanceSuspendedException extends \Exception
13
 
{
14
 
    public $httpStatusCode = 403;
15
 
 
16
 
    /**
17
 
     * Public Constructor
18
 
     *
19
 
     * @param string $message
20
 
     * @param int $code
21
 
     * @param \Exception $previous
22
 
     */
23
 
    public function __construct($message = 'Instance Suspended', $code = 403, \Exception $previous = null)
24
 
    {
25
 
        $message = __($message);
26
 
 
27
 
        parent::__construct($message, $code, $previous);
28
 
    }
29
 
}
 
 
b'\\ No newline at end of file'