PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 10.1.4
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v10.1.4
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
acymailing / back / Libraries / Sabberworm / CSS / src / Parsing / SourceException.php

SourceException.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress 10.1.4, at back/Libraries/Sabberworm/CSS/src/Parsing/SourceException.php

33 lines 562 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Sabberworm\CSS\Parsing;
4
5 class SourceException extends \Exception
6 {
7 /**
8 * @var int
9 */
10 private $iLineNo;
11
12 /**
13 * @param string $sMessage
14 * @param int $iLineNo
15 */
16 public function __construct($sMessage, $iLineNo = 0)
17 {
18 $this->iLineNo = $iLineNo;
19 if (!empty($iLineNo)) {
20 $sMessage .= " [line no: $iLineNo]";
21 }
22 parent::__construct($sMessage);
23 }
24
25 /**
26 * @return int
27 */
28 public function getLineNo()
29 {
30 return $this->iLineNo;
31 }
32 }
33