예제 #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);
 }
예제 #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);
 }
예제 #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);
 }