Ejemplo n.º 1
0
 /**
  * @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);
 }
Ejemplo n.º 2
0
 /**
  * @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);
 }
Ejemplo n.º 3
0
 /**
  * @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);
 }