/**
  * @param string $missingParameter
  */
 public function __construct($missingParameter)
 {
     parent::__construct(sprintf('Payplug account parameter "%s" is needed but not set.', $missingParameter));
 }
Beispiel #2
0
 /**
  * HttpException constructor.
  *
  * @param   string  $message        the exception message
  * @param   string  $httpResponse   the http response content
  * @param   int     $code           the exception code
  */
 public function __construct($message, $httpResponse = null, $code = 0)
 {
     $this->_httpResponse = $httpResponse;
     parent::__construct($message, $code);
 }