You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
600 B
25 lines
600 B
<?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);
|
|
}
|
|
}
|
|
?>
|