propelorm/Propel2 — pull request #90 by willdurand (2011-12-13 17:40:53+00:00)
Title: Start to use SPL Exceptions

Hi there,

I started to add named exceptions on Propel (mostly `Runtime`). More and more new code appears and we don't use specific exceptions. To avoid answers like "this is not the purpose of this PR", I decided to work on it.
Once we'll add named exceptions, people will be encouraged (forced) to use named exceptions. Diabolic strategy, right? :D

Anyway, here is a first work. Before to continue I need feedback. I removed the workaround on the `PropelException`. Oh, and I kept `PropelException` when I had no idea about what to put instead.

SPL exceptions: http://php.net/manual/fr/spl.exceptions.php

William