public function __construct($message = null, $code = 0, Exception $previous = null) { parent::__construct($message, $code, $previous); if (!isset(self::$httpHandler)) { self::setUp(); } $this->buildObj(); }
public function __construct($message, IEtape $depart, IEtape $arrivee) { parent::__construct($message); $this->depart = $depart; $this->arrivee = $arrivee; }