apiMessage = $apiMessage; $this->apiCode = $apiCode; $this->apiDescription = $apiDescription; parent::__construct($message, $code); } /** * Gets the Exception message * @return string the Exception message as a string. */ public function getAPIMessage() { return $this->apiMessage; } /** * Gets the API Exception code. * @return int the exception code as integer. */ public function getAPICode() { return $this->apiCode; } /** * Gets the Exception description * @return string the Exception description as a string. */ public function getAPIDescription() { return $this->apiDescription; } }