Error Detection & Handling

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/26

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key terms and definitions related to Error Detection & Handling in application backends.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

27 Terms

1
New cards

Exception Handling

A mechanism to respond to exceptions that occur within a program.

2
New cards

HttpRequestMethodNotSupportedException

An exception thrown when an HTTP method is not supported.

3
New cards

MethodArgumentNotValidException

An exception thrown when method arguments are not valid.

4
New cards

NoResourceFoundException

An exception thrown indicating that a resource was not found.

5
New cards

@ControllerAdvice

A specialization of the @Component annotation that allows you to handle exceptions globally.

6
New cards

@ExceptionHandler

An annotation that defines methods for handling exceptions thrown by request handling methods.

7
New cards

Global Exception Handler

A single class responsible for handling exceptions across all controllers.

8
New cards

Input Validation

The process of ensuring that inputs to a program meet specified requirements.

9
New cards

Annotations

Special markers in code that provide metadata about the class/method/variable.

10
New cards

@NotNull

An annotation indicating that a variable must not be null.

11
New cards

@Min

An annotation that specifies the minimum value for a numeric field.

12
New cards

Log4J2

A logging framework used for creating and managing log files.

13
New cards

Log Levels

Categories that describe the severity or nature of log messages.

14
New cards

INFO

A log level used to indicate regular operational messages.

15
New cards

ERROR

A log level indicating that an error has occurred.

16
New cards

FATAL

A log level indicating a very severe error that will lead to application termination.

17
New cards

DEBUG

A log level useful for debugging; more detailed than INFO.

18
New cards

TRACE

A log level that provides the most detailed logging, often indicating entry/exit points.

19
New cards

Logging Framework

A library that provides tools for logging messages in an application.

20
New cards

@Valid

An annotation indicating that a method parameter should be validated.

21
New cards

MethodArgumentNotValidException

Thrown when a method argument fails validation.

22
New cards

User-Defined Exceptions

Custom exceptions defined by the user to handle specific error scenarios.

23
New cards

Constraint Violations

Occurrences when input does not meet the defined constraints.

24
New cards

@Positive

An annotation that specifies a numeric field must be positive.

25
New cards

@Size

An annotation that specifies the size constraints on a collection or string.

26
New cards

@Pattern

An annotation that validates a string against a specific regular expression pattern.

27
New cards

OCSP

[Test Term] A reference term related to the administrative body responsible for logged content.