aboutsummaryrefslogtreecommitdiff
path: root/app/Exceptions/FeedNotAddedException.php
blob: 350a17c565318f951862d097e6934ea92f4620ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

class FreshRSS_FeedNotAdded_Exception extends Exception {
	private $feedName = '';

	public function __construct($url, $feedName) {
		parent::__construct('Feed not added! ' . $url, 2147);
		$this->feedName = $feedName;
	}

	public function feedName() {
		return $this->feedName;
	}
}