コード例 #1
0
 /**
  * Constructor
  *
  * @param string $code Error code from WebEx.
  * @param string $errormsg Error message from WebEx.
  * @param string $debuginfo Additional info about the error.
  */
 public function __construct($code, $errormsg, $debuginfo = null)
 {
     $params = array('errorcode' => (string) $code, 'error' => (string) $errormsg);
     if (isset($debuginfo)) {
         // Strip any password field out of the debug info.
         $debuginfo = preg_replace('{<password>(.*?)</password>}is', '<password>*****</password>', $debuginfo);
     }
     parent::__construct('webexxmlexception', '', $params, $debuginfo);
 }
コード例 #2
0
 /**
  * Constructor
  *
  * @param string $debuginfo Additional info about the error.
  */
 public function __construct($debuginfo = null)
 {
     parent::__construct('unknownhostwebexidexception', '', null, $debuginfo);
 }
コード例 #3
0
 /**
  * Constructor
  *
  * @param string $debuginfo Additional info about the error.
  */
 public function __construct($debuginfo = null)
 {
     parent::__construct('hostschedulingexception', '', null, $debuginfo);
 }
コード例 #4
0
 /**
  * Constructor
  *
  * @param string $errormsg Error message.
  * @param string $debuginfo Additional info about the error.
  */
 public function __construct($errormsg, $debuginfo = null)
 {
     $params = array('error' => (string) $errormsg);
     parent::__construct('connectionexception', '', $params, $debuginfo);
 }
コード例 #5
0
 /**
  * Constructor
  *
  * @param string $debuginfo Additional info about the error.
  */
 public function __construct($debuginfo = null)
 {
     parent::__construct('badpasswordexception', '', null, $debuginfo);
 }
コード例 #6
0
 /**
  * Constructor
  *
  * @param string $debuginfo Additional info about the error.
  */
 public function __construct($debuginfo = null)
 {
     parent::__construct('webexusercollision', '', null, $debuginfo);
 }
コード例 #7
0
 /**
  * Constructor
  *
  * @param string $debuginfo Additional info about the error.
  */
 public function __construct($debuginfo = null)
 {
     parent::__construct('curlsetupexception', '', null, $debuginfo);
 }