Commit graph

10 commits

Author SHA1 Message Date
Alexandre Gaigalas
1210b6f77a Removed license text from class files 2012-03-22 23:53:06 -03:00
Alexandre
cc278caffd Revert "Revert "Message modes for exceptions (in draft)""
This reverts commit 2041d4a33a.
2011-04-09 20:34:21 -03:00
Alexandre
2041d4a33a Revert "Message modes for exceptions (in draft)"
This reverts commit 6f0dd5c072.
2011-04-09 20:30:49 -03:00
Alexandre Gomes Gaigalas
6f0dd5c072 Message modes for exceptions (in draft) 2011-04-08 16:39:10 -03:00
Alexandre
10813d136e Licensing. 2011-03-13 11:50:47 -03:00
Alexandre
47e8c47e9e Cleanup, fixed AbstractRelatedException inheritance problems. 2011-02-20 13:59:53 -03:00
Alexandre
895ce93ed1 - Splitted up ValidationException into simple exceptions and composite exceptions
- Changed the string formater from sprintf to custom function. Exception parameters should be more readable now.
	- Several refactorings on the exception reporting model
	- Improved builders ( new v(array('int', 'positive', 'between'=>array(1,256))); is now possible, great for dependency injection.
	Note: There are nasty things on this commit. Duplicated code, orphan methods and such. Next step is a nice quality-wide refactoring.
2011-02-10 18:49:48 -02:00
Alexandre
cd6449ff81 Using constants for template messages. 2011-02-06 23:12:41 -02:00
Alexandre (@alganet)
5830711f5a Several Improvements:
-Simplified defaultTemplates on Exceptions
	-Exceptions now can be iterated and recursively iterated
	-Messages built by RecursiveTreeIterator (SPL), faster an simpler
	-attribute, key and composite exceptions message plays nicer (no redundant messages)
2011-01-30 22:17:06 -02:00
Alexandre Gomes Gaigalas
42999f796a Very unstable commit. Lot of changes to the exception model. 2010-12-02 19:04:10 -02:00