You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
525B

  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\base;
  8. /**
  9. * InvalidRouteException represents an exception caused by an invalid route.
  10. *
  11. * @author Qiang Xue <qiang.xue@gmail.com>
  12. * @since 2.0
  13. */
  14. class InvalidRouteException extends UserException
  15. {
  16. /**
  17. * @return string the user-friendly name of this exception
  18. */
  19. public function getName()
  20. {
  21. return 'Invalid Route';
  22. }
  23. }