Zend certified PHP/Magento developer

How add custom export entity to default magento?

I have a problem with generate export csv fo custom entity type.Process execute but, file not saved, not logs in queue message status is 4 after press continue in admin panel.
Could you please send me a example or how can I debug the problem ?
enter image description here