Fabien POTENCIER wrote: > $error = sfStringValidator::TOO_LARGE | sfStringValidator::NOT_VALID; > throw new sfValidatorException($error);
bitwise operators are sneaky magic. beginners never get them, its only C hackers that are fond of them. take PDO, most people just cut and paste sample usage of them for their PDO API calls. the key point there is .. for PDO they do not need to know how to "take them apart", in this validator scheme, they would. anyways .. there is no reason to force this into the message parameter via serialization .. the Exception class is meant to be extended. regards, Lukas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---
