public function makeException()
    {
        // make exception based on the status code
        $this->thrownException =
            new PlivoResponseException(
                null, null, null,
                $this->decodedContent, $this->statusCode);

        echo $this->thrownException->getMessage();
    }