From 806572b869e36efe633668d5752768953d605f2f Mon Sep 17 00:00:00 2001 From: Robert Hafner Date: Wed, 18 Dec 2013 16:16:20 -0800 Subject: [PATCH] Changed exception type --- src/Fetch/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fetch/Server.php b/src/Fetch/Server.php index 379d9f2..34a7bf6 100644 --- a/src/Fetch/Server.php +++ b/src/Fetch/Server.php @@ -219,7 +219,7 @@ class Server public function setOptions($bitmask = 0) { if (!is_numeric($bitmask)) - throw new \Exception(); + throw new \RuntimeException('Function requires numeric argument.'); $this->options = $bitmask; }