Moved FeedSubException parent class to own file

This commit is contained in:
Mikael Nordfeldth
2015-06-06 16:02:25 +02:00
parent 268b901048
commit 4de125dd84
2 changed files with 13 additions and 13 deletions

View 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);
}
}
}