初始上传
This commit is contained in:
25
extend/barcode/class/BCGArgumentException.php
Executable file
25
extend/barcode/class/BCGArgumentException.php
Executable file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
*--------------------------------------------------------------------
|
||||
*
|
||||
* Argument Exception
|
||||
*
|
||||
*--------------------------------------------------------------------
|
||||
* Copyright (C) Jean-Sebastien Goupil
|
||||
* http://www.barcodephp.com
|
||||
*/
|
||||
class BCGArgumentException extends Exception {
|
||||
protected $param;
|
||||
|
||||
/**
|
||||
* Constructor with specific message for a parameter.
|
||||
*
|
||||
* @param string $message
|
||||
* @param string $param
|
||||
*/
|
||||
public function __construct($message, $param) {
|
||||
$this->param = $param;
|
||||
parent::__construct($message, 20000);
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user