<?php class FeedDBException extends FeedSubException { public $obj; function __construct($obj) { parent::__construct('Database insert failure'); $this->obj = $obj; } }