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