/**
  * Constructor.
  *
  * @param \TokenReflection\Stream\StreamBase $stream  Reflection element
  * @param string                             $message Exception message
  * @param integer                            $code    Exception code
  */
 public function __construct(StreamBase $stream, $message, $code)
 {
     parent::__construct($message, $code);
     $this->stream = $stream;
 }
 /**
  * Constructor.
  *
  * @param \TokenReflection\Broker $broker Processed file name
  * @param string $message Exception message
  * @param integer $code Exception code
  * @param \TokenReflection\Exception\StreamException $parent Parent exception
  */
 public function __construct(Broker $broker, $message, $code, StreamException $parent = null)
 {
     parent::__construct($message, $code, $parent);
     $this->broker = $broker;
 }
 /**
  * Constructor.
  *
  * @param string                       $message Exception message
  * @param integer                      $code    Exception code
  * @param \TokenReflection\IReflection $sender  Reflection element
  */
 public function __construct($message, $code, IReflection $sender = null)
 {
     parent::__construct($message, $code);
     $this->sender = $sender;
 }