コード例 #1
0
 /**
  * UnableToDeleteFileException constructor.
  * @param UuidInterface $uuid
  * @param Exception $previous
  */
 public function __construct(UuidInterface $uuid, Exception $previous = null)
 {
     parent::__construct("Unable to delete file with uuid {$uuid}", 0, $previous);
 }
コード例 #2
0
 public function __construct(Exception $previous = null)
 {
     parent::__construct('Unable to store file', 0, $previous);
 }
コード例 #3
0
 public function __construct(UuidInterface $uuid, Exception $previous = null)
 {
     parent::__construct("File with UUID {$uuid} was not found");
 }
コード例 #4
0
 /**
  * InvalidUuidException constructor.
  */
 public function __construct($notAnUuid)
 {
     parent::__construct("''{$notAnUuid}' is not a valid UUID");
 }
コード例 #5
0
 public function __construct($message)
 {
     parent::__construct($message);
 }