*/ class WrongParameterException extends \Exception { public function __construct($class, $method, $parameter, $expected, $got) { parent::__construct("Wrong value for parameter $parameter in $class::$method. Expected: $expected, got: $got"); } }