示例#1
0
 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);
 }
示例#2
0
 public function __construct($testEnvironmentName, $groupId)
 {
     $msg = "in test environment {$testEnvironmentName}, group {$groupId}: need a group adapter first";
     parent::__construct(400, $msg, $msg);
 }
示例#3
0
 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);
 }
示例#4
0
 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);
 }
示例#5
0
 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);
 }