feedsubexception.php 268 B

1234567891011121314
  1. <?php
  2. class FeedSubException extends Exception
  3. {
  4. function __construct($msg=null)
  5. {
  6. $type = get_class($this);
  7. if ($msg) {
  8. parent::__construct("$type: $msg");
  9. } else {
  10. parent::__construct($type);
  11. }
  12. }
  13. }