@@ -379,64 +379,64 @@ internal framework exceptions, there are several
379
379
exceptions for HTTP methods
380
380
381
381
.. php :exception :: BadRequestException
382
- :no-contents-entry :
382
+ :nocontentsentry :
383
383
384
384
Used for doing 400 Bad Request error.
385
385
386
386
.. php :exception :: UnauthorizedException
387
- :no-contents-entry :
387
+ :nocontentsentry :
388
388
389
389
Used for doing a 401 Unauthorized error.
390
390
391
391
.. php :exception :: ForbiddenException
392
- :no-contents-entry :
392
+ :nocontentsentry :
393
393
394
394
Used for doing a 403 Forbidden error.
395
395
396
396
.. php :exception :: InvalidCsrfTokenException
397
- :no-contents-entry :
397
+ :nocontentsentry :
398
398
399
399
Used for doing a 403 error caused by an invalid CSRF token.
400
400
401
401
.. php :exception :: NotFoundException
402
- :no-contents-entry :
402
+ :nocontentsentry :
403
403
404
404
Used for doing a 404 Not found error.
405
405
406
406
.. php :exception :: MethodNotAllowedException
407
- :no-contents-entry :
407
+ :nocontentsentry :
408
408
409
409
Used for doing a 405 Method Not Allowed error.
410
410
411
411
.. php :exception :: NotAcceptableException
412
- :no-contents-entry :
412
+ :nocontentsentry :
413
413
414
414
Used for doing a 406 Not Acceptable error.
415
415
416
416
.. php :exception :: ConflictException
417
- :no-contents-entry :
417
+ :nocontentsentry :
418
418
419
419
Used for doing a 409 Conflict error.
420
420
421
421
.. php :exception :: GoneException
422
- :no-contents-entry :
422
+ :nocontentsentry :
423
423
424
424
Used for doing a 410 Gone error.
425
425
426
426
For more details on HTTP 4xx error status codes see :rfc: `2616#section-10.4 `.
427
427
428
428
.. php :exception :: InternalErrorException
429
- :no-contents-entry :
429
+ :nocontentsentry :
430
430
431
431
Used for doing a 500 Internal Server Error.
432
432
433
433
.. php :exception :: NotImplementedException
434
- :no-contents-entry :
434
+ :nocontentsentry :
435
435
436
436
Used for doing a 501 Not Implemented Errors.
437
437
438
438
.. php :exception :: ServiceUnavailableException
439
- :no-contents-entry :
439
+ :nocontentsentry :
440
440
441
441
Used for doing a 503 Service Unavailable error.
442
442
@@ -491,128 +491,128 @@ In addition, CakePHP uses the following exceptions:
491
491
.. php :namespace :: Cake\View\Exception
492
492
493
493
.. php :exception :: MissingViewException
494
- :no-contents-entry :
494
+ :nocontentsentry :
495
495
496
496
The chosen view class could not be found.
497
497
498
498
.. php :exception :: MissingTemplateException
499
- :no-contents-entry :
499
+ :nocontentsentry :
500
500
501
501
The chosen template file could not be found.
502
502
503
503
.. php :exception :: MissingLayoutException
504
- :no-contents-entry :
504
+ :nocontentsentry :
505
505
506
506
The chosen layout could not be found.
507
507
508
508
.. php :exception :: MissingHelperException
509
- :no-contents-entry :
509
+ :nocontentsentry :
510
510
511
511
The chosen helper could not be found.
512
512
513
513
.. php :exception :: MissingElementException
514
- :no-contents-entry :
514
+ :nocontentsentry :
515
515
516
516
The chosen element file could not be found.
517
517
518
518
.. php :exception :: MissingCellException
519
- :no-contents-entry :
519
+ :nocontentsentry :
520
520
521
521
The chosen cell class could not be found.
522
522
523
523
.. php :exception :: MissingCellViewException
524
- :no-contents-entry :
524
+ :nocontentsentry :
525
525
526
526
The chosen cell view file could not be found.
527
527
528
528
.. php :namespace :: Cake\Controller\Exception
529
529
530
530
.. php :exception :: MissingComponentException
531
- :no-contents-entry :
531
+ :nocontentsentry :
532
532
533
533
A configured component could not be found.
534
534
535
535
.. php :exception :: MissingActionException
536
- :no-contents-entry :
536
+ :nocontentsentry :
537
537
538
538
The requested controller action could not be found.
539
539
540
540
.. php :exception :: PrivateActionException
541
- :no-contents-entry :
541
+ :nocontentsentry :
542
542
543
543
Accessing private/protected/_ prefixed actions.
544
544
545
545
.. php :namespace :: Cake\Console\Exception
546
546
547
547
.. php :exception :: ConsoleException
548
- :no-contents-entry :
548
+ :nocontentsentry :
549
549
550
550
A console library class encounter an error.
551
551
552
552
.. php :namespace :: Cake\Database\Exception
553
553
554
554
.. php :exception :: MissingConnectionException
555
- :no-contents-entry :
555
+ :nocontentsentry :
556
556
557
557
A model's connection is missing.
558
558
559
559
.. php :exception :: MissingDriverException
560
- :no-contents-entry :
560
+ :nocontentsentry :
561
561
562
562
A database driver could not be found.
563
563
564
564
.. php :exception :: MissingExtensionException
565
- :no-contents-entry :
565
+ :nocontentsentry :
566
566
567
567
A PHP extension is missing for the database driver.
568
568
569
569
.. php :namespace :: Cake\ORM\Exception
570
570
571
571
.. php :exception :: MissingTableException
572
- :no-contents-entry :
572
+ :nocontentsentry :
573
573
574
574
A model's table could not be found.
575
575
576
576
.. php :exception :: MissingEntityException
577
- :no-contents-entry :
577
+ :nocontentsentry :
578
578
579
579
A model's entity could not be found.
580
580
581
581
.. php :exception :: MissingBehaviorException
582
- :no-contents-entry :
582
+ :nocontentsentry :
583
583
584
584
A model's behavior could not be found.
585
585
586
586
.. php :exception :: PersistenceFailedException
587
- :no-contents-entry :
587
+ :nocontentsentry :
588
588
589
589
An entity couldn't be saved/deleted while using :php:meth: `Cake\\ ORM\\ Table::saveOrFail() ` or
590
590
:php:meth: `Cake\\ ORM\\ Table::deleteOrFail() `.
591
591
592
592
.. php :namespace :: Cake\Datasource\Exception
593
593
594
594
.. php :exception :: RecordNotFoundException
595
- :no-contents-entry :
595
+ :nocontentsentry :
596
596
597
597
The requested record could not be found. This will also set HTTP response
598
598
headers to 404.
599
599
600
600
.. php :namespace :: Cake\Routing\Exception
601
601
602
602
.. php :exception :: MissingControllerException
603
- :no-contents-entry :
603
+ :nocontentsentry :
604
604
605
605
The requested controller could not be found.
606
606
607
607
.. php :exception :: MissingRouteException
608
- :no-contents-entry :
608
+ :nocontentsentry :
609
609
610
610
The requested URL cannot be reverse routed or cannot be parsed.
611
611
612
612
.. php :namespace :: Cake\Core\Exception
613
613
614
614
.. php :exception :: Exception
615
- :no-contents-entry :
615
+ :nocontentsentry :
616
616
617
617
Base exception class in CakePHP. All framework layer exceptions thrown by
618
618
CakePHP will extend this class.
@@ -621,7 +621,7 @@ These exception classes all extend :php:exc:`Exception`.
621
621
By extending Exception, you can create your own 'framework' errors.
622
622
623
623
.. php :method :: responseHeader($header = null, $value = null)
624
- :no-contents-entry :
624
+ :nocontentsentry :
625
625
626
626
See :php:func: `Cake\\ Network\\ Request::header() `
627
627
0 commit comments