DDDBL 2.0
 All Classes Namespaces Files Functions Variables
UnexpectedParameterTypeException.class.php
Go to the documentation of this file.
1 <?php
2 
3 namespace DDDBL;
4 
10 class UnexpectedParameterTypeException extends \Exception {
11 
20  public function __construct($strExpected, $mixedValue) {
21 
22  parent::__construct("value of type $strExpected expected, but got: " . gettype($mixedValue));
23 
24  }
25 
26 }