29 lines
771 B
PHP
29 lines
771 B
PHP
|
<?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);
|
||
|
}
|
||
|
}
|
||
|
?>
|