diff --git a/GiegQuote.php b/GiegQuote.php index feff0ed..332a59f 100644 --- a/GiegQuote.php +++ b/GiegQuote.php @@ -209,7 +209,7 @@ private static function checkUrl($url) { } /* - ---- Curl + ---- cURL */ private static $curl = null; private static $response = null; @@ -247,20 +247,4 @@ private function setOptions() { self::$curl_options = array(); } } -} - -class GiegQuoteException extends Exception { - public $url; - - function __construct($response) { - $this->url = $response->url; - parent::__construct($response->message); - } - - public function __toString() { - $style = 'style="font-family: Helvetica;"'; - $info = "

Something went wrong with the last request to the Quote API:

"; - $info .= "

Details

Message: " . $this->message . '
'; - return $info; - } } \ No newline at end of file