When defining a global exception handler in Spring Boot, you can use the _____ argument to access the details of the occurred exception.

  • Exception
  • Error
  • Throwable
  • ExceptionDetails
When defining a global exception handler in Spring Boot, you can use the Throwable argument in the exception handling method to access the details of the occurred exception. This argument allows you to inspect and respond to exceptions in a generic way. The other options do not represent the correct argument type for accessing exception details.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *