Spring Boot - Exception Handling
Consider this custom exception class:
What will be the output if this exception is thrown with message "User missing" and caught to print getMessage()?
public class UserNotFoundException extends RuntimeException {
public UserNotFoundException(String message) {
super(message);
}
}What will be the output if this exception is thrown with message "User missing" and caught to print getMessage()?
