GoConqr has a new look! Let us know what you think.

Quiz

3.7 Exceptions and Error Handling

Deleted user 3 questions Updated 27 Apr 2022

Take the quiz

Questions in this quiz (3)

  1. 1Which error and exception handlers exist in TYPO3 by default? (2)
    1. AClass \TYPO3\CMS\Core\Error\ErrorHandler as the default error handler
    2. BClass \TYPO3\CMS\Core\Error\SysLogHandler for writing errors to the system log
    3. CClass \TYPO3\CMS\Core\Error\WarningHandler for generating warnings
    4. DClass \TYPO3\CMS\Core\Error\ProductionExceptionHandler for the production context
  2. 2You want to output errors generated by the default error handler as Flash Messages in the backend. What do you
    need to do? (1)
    1. AMake sure the debugExceptionHandler is set to \TYPO3\CMS\Core\Error\DebugExceptionHandler
    2. BMake sure Flash Messages are enabled in the Install Tool
    3. CMake sure errors are generated with the flag flashOutput set to true
    4. DErrors can not be displayed as Flash Messages by default – they are written to the system log for security reasons
  3. 3Which statements about error logging in extensions are correct? (1)
    1. AWarnings and errors should be directly written to the sys_log table using the Query Builder
    2. BAn instance of the Logger API is available in Extbase, if the system extension EXT:sys_logger is activated
    3. CExtension developers should use the TYPO3 core class DevLogging for debugging purposes during development
    4. DIf an extension throws an exception, this will be logged using the configured error handler
    5. EExtensions should never throw exceptions but always output Flash Messages

Information

Description
User has deleted their subject information Quiz on 3.7 Exceptions and Error Handling, created by Deleted user on 27/04/2022.
Author
Deleted user
Language
English
Views
26
History
Created on 27 Apr 2022 · updated on 27 Apr 2022
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?