/** * @param PointerInterface $pointer * @param Exception|null $previous */ public function __construct(PointerInterface $pointer, Exception $previous = null) { $this->pointer = $pointer; parent::__construct(sprintf('Mapping already exists at pointer %s.', var_export($pointer->string(), true)), 0, $previous); }
/** * @param PointerInterface $pointer * @param Exception|null $previous */ public function __construct(PointerInterface $pointer, Exception $previous = null) { $this->pointer = $pointer; parent::__construct(sprintf('The pointer %s has no parent.', var_export($pointer->string(), true)), 0, $previous); }
/** * @param PointerInterface $pointer * @param Exception|null $previous */ public function __construct(PointerInterface $pointer, Exception $previous = null) { $this->pointer = $pointer; parent::__construct(sprintf("No value defined for pointer %s.", var_export($pointer->string(), true)), 0, $previous); }