NotImplementedException.php 927 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * NotImplementedException class
  4. *
  5. * PHP 5
  6. *
  7. * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  8. * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  9. *
  10. * Licensed under The MIT License
  11. * Redistributions of files must retain the above copyright notice.
  12. *
  13. * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  14. * @link http://book.cakephp.org/2.0/en/development/testing.html
  15. * @since CakePHP(tm) v 3.0
  16. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  17. */
  18. namespace Cake\Error;
  19. /**
  20. * Not Implemented Exception - used when an API method is not implemented
  21. *
  22. */
  23. class NotImplementedException extends Exception {
  24. protected $_messageTemplate = '%s is not implemented.';
  25. public function __construct($message, $code = 501) {
  26. parent::__construct($message, $code);
  27. }
  28. }