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

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

	public function __construct($url, $feedName) {
		parent::__construct('Already subscribed! ' . $url, 2135);
		$this->$feedName = $feedName;
	}

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