Added custom exceptions [WIP]

Inspired at http://www.doctrine-project.org
`$e` as parent exception?