AuthenticationException.php 632 B

1234567891011121314151617181920212223
  1. <?php
  2. /** @package verysimple::Authentication */
  3. /**
  4. * AuthenticationException is thrown as a result of "RequirePermission" failing
  5. * @package verysimple::Authentication
  6. * @author VerySimple Inc.
  7. * @copyright 1997-2007 VerySimple, Inc.
  8. * @license http://www.gnu.org/licenses/lgpl.html LGPL
  9. * @version 1.0
  10. */
  11. class AuthenticationException extends Exception
  12. {
  13. // Redefine the exception so message isn't optional
  14. public function __construct($message, $code = 0)
  15. {
  16. // make sure everything is assigned properly
  17. parent::__construct($message, $code);
  18. }
  19. }
  20. ?>