Example #1
0
 /**
  * @param string $request_id The x-bce-request-id value
  * @param string $service_error_code The server error code.
  * @param string $service_error_code The server error message.
  * @param number $status_code The http response status.
  */
 function __construct($request_id, $service_error_code, $service_error_message, $status_code)
 {
     $this->request_id = $request_id;
     $this->service_error_code = $service_error_code;
     $this->status_code = $status_code;
     parent::__construct($service_error_message);
 }
Example #2
0
 /**
  * @param string $message The exception message.
  */
 function __construct($message)
 {
     parent::__construct($message);
 }