__construct() public method

public __construct ( $fieldPath = null, $trigger = null, $errorString = null )
 public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null)
 {
     parent::__construct();
     $this->reason = $reason;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
示例#2
0
 public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null)
 {
     parent::__construct();
     $this->reason = $reason;
     $this->rateName = $rateName;
     $this->rateScope = $rateScope;
     $this->retryAfterSeconds = $retryAfterSeconds;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
 public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null)
 {
     parent::__construct();
     $this->reason = $reason;
     $this->enclosingId = $enclosingId;
     $this->limit = $limit;
     $this->accountLimitType = $accountLimitType;
     $this->existingCount = $existingCount;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
示例#4
0
 public function __construct($reason = null, $functionString = null, $operatorName = null, $operandIndex = null, $operandValue = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null)
 {
     parent::__construct();
     $this->reason = $reason;
     $this->functionString = $functionString;
     $this->operatorName = $operatorName;
     $this->operandIndex = $operandIndex;
     $this->operandValue = $operandValue;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
 public function __construct($key = null, $externalPolicyName = null, $externalPolicyUrl = null, $externalPolicyDescription = null, $isExemptable = null, $violatingParts = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null)
 {
     parent::__construct();
     $this->key = $key;
     $this->externalPolicyName = $externalPolicyName;
     $this->externalPolicyUrl = $externalPolicyUrl;
     $this->externalPolicyDescription = $externalPolicyDescription;
     $this->isExemptable = $isExemptable;
     $this->violatingParts = $violatingParts;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
 public function __construct($fieldPath = null, $trigger = null, $errorString = null)
 {
     parent::__construct();
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
 }
 public function __construct($fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL)
 {
     if (get_parent_class('UniqueError')) {
         parent::__construct();
     }
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
 public function __construct($fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL)
 {
     parent::__construct();
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
 /**
  * UnauthorizedException constructor.
  * @param null|string $message
  */
 public function __construct($message)
 {
     parent::__construct($message, 401);
 }
 public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL)
 {
     if (get_parent_class('AdUnitHierarchyError')) {
         parent::__construct();
     }
     $this->reason = $reason;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
 public function __construct($reason = NULL, $adGroupId = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL)
 {
     if (get_parent_class('AdGroupServiceError')) {
         parent::__construct();
     }
     $this->reason = $reason;
     $this->adGroupId = $adGroupId;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
 public function __construct($key = NULL, $externalPolicyName = NULL, $externalPolicyUrl = NULL, $externalPolicyDescription = NULL, $isExemptable = NULL, $violatingParts = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL)
 {
     if (get_parent_class('PolicyViolationError')) {
         parent::__construct();
     }
     $this->key = $key;
     $this->externalPolicyName = $externalPolicyName;
     $this->externalPolicyUrl = $externalPolicyUrl;
     $this->externalPolicyDescription = $externalPolicyDescription;
     $this->isExemptable = $isExemptable;
     $this->violatingParts = $violatingParts;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
 public function __construct($reason = null, $workflowErrorMessage = null, $fieldPath = null, $trigger = null, $errorString = null)
 {
     parent::__construct();
     $this->reason = $reason;
     $this->workflowErrorMessage = $workflowErrorMessage;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
 }
示例#14
0
 /**
  * BadRequestException constructor.
  * @param null $message
  */
 public function __construct($message = null)
 {
     parent::__construct($message, 400);
 }