Added custom exceptions [WIP]

Inspired at http://www.doctrine-project.org
+1 for parent exception.