qrcode.chapril.org-libreqr/barcode-generator/Generator/CINParseException.php

29 lines
771 B
PHP
Raw Normal View History

2021-11-01 18:08:42 +01:00
<?php
/**
*--------------------------------------------------------------------
*
* Parse Exception
*
*--------------------------------------------------------------------
* @author Akhtar Khan <er.akhtarkhan@gmail.com>
* @link http://www.codeitnow.in
* @package https://github.com/codeitnowin/barcode-generator
*/
namespace CodeItNow\BarcodeBundle\Generator;
use Exception;
class CINParseException extends Exception {
protected $barcode;
/**
* Constructor with specific message for a parameter.
*
* @param string $barcode
* @param string $message
*/
public function __construct($barcode, $message) {
$this->barcode = $barcode;
parent::__construct($message, 10000);
}
}
?>