Moved FeedSubException parent class to own file
This commit is contained in:
13
plugins/OStatus/lib/feedsubexception.php
Normal file
13
plugins/OStatus/lib/feedsubexception.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
class FeedSubException extends Exception
|
||||
{
|
||||
function __construct($msg=null)
|
||||
{
|
||||
$type = get_class($this);
|
||||
if ($msg) {
|
||||
parent::__construct("$type: $msg");
|
||||
} else {
|
||||
parent::__construct($type);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user