diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2012-07-14 22:56:33 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2012-07-14 22:56:33 +0200 |
| commit | fc647788cf137595e84bea72edb16d86ab1d76a5 (patch) | |
| tree | abaff9679ba7ac8b029aae22a9b7d23494f17588 /src/callnotifier/Source/File.php | |
| parent | 706ce1501a9ab1a33e4106774665c631a3ad3749 (diff) | |
| download | auerswald-callnotifier-fc647788cf137595e84bea72edb16d86ab1d76a5.tar.gz auerswald-callnotifier-fc647788cf137595e84bea72edb16d86ab1d76a5.zip | |
echo logger
Diffstat (limited to 'src/callnotifier/Source/File.php')
| -rw-r--r-- | src/callnotifier/Source/File.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/callnotifier/Source/File.php b/src/callnotifier/Source/File.php index c358397..9b6a03e 100644 --- a/src/callnotifier/Source/File.php +++ b/src/callnotifier/Source/File.php @@ -13,19 +13,19 @@ class Source_File { $file = $this->config->replayFile; if (!file_exists($file)) { - throw new Exception('Replay file does not exist'); + throw new \Exception('Replay file does not exist'); } $handle = fopen($file, 'r'); if (!$handle) { - throw new Exception('Cannot open replay file for reading'); + throw new \Exception('Cannot open replay file for reading'); } while (($line = fgets($handle, 4096)) !== false) { $this->handler->handle($line); } if (!feof($handle)) { - throw new Exception('unexpected fgets() fail'); + throw new \Exception('unexpected fgets() fail'); } fclose($handle); } |
