初始上传
This commit is contained in:
25
extend/barcode/class/BCGParseException.php
Executable file
25
extend/barcode/class/BCGParseException.php
Executable file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
*--------------------------------------------------------------------
|
||||
*
|
||||
* Parse Exception
|
||||
*
|
||||
*--------------------------------------------------------------------
|
||||
* Copyright (C) Jean-Sebastien Goupil
|
||||
* http://www.barcodephp.com
|
||||
*/
|
||||
class BCGParseException 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);
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user