/**
  * Construct a new invalid path atom character exception.
  *
  * @param string         $atom      The invalid path atom.
  * @param string         $character The invalid character.
  * @param Exception|null $previous  The cause, if available.
  */
 public function __construct($atom, $character, Exception $previous = null)
 {
     $this->character = $character;
     parent::__construct($atom, $previous);
 }
예제 #2
0
 /**
  * Construct a new empty path atom exception.
  *
  * @param Exception|null $previous The cause, if available.
  */
 public function __construct(Exception $previous = null)
 {
     parent::__construct('', $previous);
 }