DispatchException.php 593 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Lithium: the most rad php framework
  4. *
  5. * @copyright Copyright 2012, Union of RAD (http://union-of-rad.org)
  6. * @license http://opensource.org/licenses/bsd-license.php The BSD License
  7. */
  8. namespace lithium\action;
  9. /**
  10. * This exception covers a range of scenarios that generally revolve around attempting to dispatch
  11. * to something which cannot handle a request, i.e. a controller which can't be found, objects
  12. * which aren't callable, or un-routable (private) controller methods.
  13. */
  14. class DispatchException extends \RuntimeException {
  15. protected $code = 404;
  16. }
  17. ?>