Added first attempt at input validation framework

This commit is contained in:
2011-12-26 00:52:10 +00:00
parent 786076b5c6
commit da57ccf8de
3 changed files with 67 additions and 0 deletions

View File

@@ -44,5 +44,8 @@ class SihnonFramework_Exception_AuthException extends SihnonFramework_E
class SihnonFramework_Exception_UnknownUser extends SihnonFramework_Exception_AuthException {};
class SihnonFramework_Exception_IncorrectPassword extends SihnonFramework_Exception_AuthException {};
class SihnonFramework_Exception_ValidationException extends SihnonFramework_Exception {};
class SihnonFramework_Exception_InvalidContent extends SihnonFramework_ValidationException {};
class SihnonFramework_Exception_InvalidLength extends SihnonFramework_ValidationoException {};
?>