/**
  * @param string $varName имя переменной
  */
 public function __construct($varName)
 {
     parent::__construct('Variable with name "' . $varName . '" was not stored in session');
 }
 public function __construct()
 {
     parent::__construct('Can\'t instantinate new session instance');
 }