1: <?php
2:
3: /**
4: * Pry Framework
5: * @copyright 2007-2011 Prynel
6: * @author Olivier ROGER <oroger.fr>
7: * @category Pry
8: * @package Net
9: */
10:
11: namespace Pry\Net\Exception;
12:
13: /**
14: * Exception de socket
15: * @category Pry
16: * @package Net
17: * @subpackage Net_Exception
18: * @version 1.0
19: * @author Olivier ROGER <oroger.fr>
20: * @copyright 2007-2012 Prynel
21: *
22: */
23: class Socket extends Exception
24: {
25:
26: private $context;
27:
28: public function __construct($message, $code, $file, $line, $context = null)
29: {
30: parent::__construct($message, $code);
31:
32: $this->file = $file;
33: $this->line = $line;
34: $this->context = $context;
35: }
36:
37: }
38:
39: ?>
40: