/** * @param string $userId */ public function __construct($userId) { if (empty($userId)) { $userId = "<no-user-id-given>"; } parent::__construct("Private Key missing for user: {$userId}"); }
/** * @param string $key */ public function __construct($key) { parent::__construct('header key "' . $key . '" already reserved by ownCloud'); }
/** * @param string $id * @param string $name */ public function __construct($id, $name) { parent::__construct('Id "' . $id . '" already used by encryption module "' . $name . '"'); }
public function __construct() { parent::__construct('max header size exceeded'); }