/** * 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); }
/** * Constructor * * @param string $debuginfo Additional info about the error. */ public function __construct($debuginfo = null) { parent::__construct('unknownhostwebexidexception', '', null, $debuginfo); }
/** * Constructor * * @param string $debuginfo Additional info about the error. */ public function __construct($debuginfo = null) { parent::__construct('hostschedulingexception', '', null, $debuginfo); }
/** * 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); }
/** * Constructor * * @param string $debuginfo Additional info about the error. */ public function __construct($debuginfo = null) { parent::__construct('badpasswordexception', '', null, $debuginfo); }
/** * Constructor * * @param string $debuginfo Additional info about the error. */ public function __construct($debuginfo = null) { parent::__construct('webexusercollision', '', null, $debuginfo); }
/** * Constructor * * @param string $debuginfo Additional info about the error. */ public function __construct($debuginfo = null) { parent::__construct('curlsetupexception', '', null, $debuginfo); }