public function __construct($testEnvironmentName, $groupId, $hostId, $role) { $msg = "in test environment {$testEnvironmentName}, group {$groupId}, host {$hostId}: roles must be an array of strings; contains at least one " . gettype($role) . " instead"; parent::__construct(400, $msg, $msg); }
public function __construct($testEnvironmentName, $groupId) { $msg = "in test environment {$testEnvironmentName}, group {$groupId}: need a group adapter first"; parent::__construct(400, $msg, $msg); }
public function __construct($testEnvironmentName, $groupId, $hostId, $roles) { $msg = "in test environment {$testEnvironmentName}, group {$groupId}, host {$hostId}: roles must be an array; " . gettype($roles) . " received instead"; parent::__construct(400, $msg, $msg); }
public function __construct($testEnvironmentName, $groupId, $hostId) { $msg = "in test environment {$testEnvironmentName}, group {$groupId}, hostIds must all be strings, at least one " . gettype($hostId) . " found instead"; parent::__construct(400, $msg, $msg); }
public function __construct($testEnvironmentName, $groupId) { $msg = "in test environment {$testEnvironmentName}: attempt to create two or more groups with the same group ID {$groupId}"; parent::__construct(400, $msg, $msg); }
public function __construct($testEnvironmentName, $groupId, $hostId, $hostManager, $groupAdapter) { $msg = "in test environment {$testEnvironmentName}, group {$groupId}, host {$hostId}: host adapter '" . gettype($hostManager) . "' isn't compatible with group of type '" . gettype($groupAdapter) . "'"; parent::__construct(400, $msg, $msg); }