1/26
Vocabulary flashcards covering key terms and definitions related to Error Detection & Handling in application backends.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Exception Handling
A mechanism to respond to exceptions that occur within a program.
HttpRequestMethodNotSupportedException
An exception thrown when an HTTP method is not supported.
MethodArgumentNotValidException
An exception thrown when method arguments are not valid.
NoResourceFoundException
An exception thrown indicating that a resource was not found.
@ControllerAdvice
A specialization of the @Component annotation that allows you to handle exceptions globally.
@ExceptionHandler
An annotation that defines methods for handling exceptions thrown by request handling methods.
Global Exception Handler
A single class responsible for handling exceptions across all controllers.
Input Validation
The process of ensuring that inputs to a program meet specified requirements.
Annotations
Special markers in code that provide metadata about the class/method/variable.
@NotNull
An annotation indicating that a variable must not be null.
@Min
An annotation that specifies the minimum value for a numeric field.
Log4J2
A logging framework used for creating and managing log files.
Log Levels
Categories that describe the severity or nature of log messages.
INFO
A log level used to indicate regular operational messages.
ERROR
A log level indicating that an error has occurred.
FATAL
A log level indicating a very severe error that will lead to application termination.
DEBUG
A log level useful for debugging; more detailed than INFO.
TRACE
A log level that provides the most detailed logging, often indicating entry/exit points.
Logging Framework
A library that provides tools for logging messages in an application.
@Valid
An annotation indicating that a method parameter should be validated.
MethodArgumentNotValidException
Thrown when a method argument fails validation.
User-Defined Exceptions
Custom exceptions defined by the user to handle specific error scenarios.
Constraint Violations
Occurrences when input does not meet the defined constraints.
@Positive
An annotation that specifies a numeric field must be positive.
@Size
An annotation that specifies the size constraints on a collection or string.
@Pattern
An annotation that validates a string against a specific regular expression pattern.
OCSP
[Test Term] A reference term related to the administrative body responsible for logged content.