@ControllerAdvice public class HoneybadgerSpringExceptionHandler extends Object
HoneybadgerUncaughtExceptionHandler.| Constructor and Description |
|---|
HoneybadgerSpringExceptionHandler(SpringConfigContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
acceptsOnlyJson(javax.servlet.http.HttpServletRequest request) |
org.springframework.http.ResponseEntity<String> |
defaultErrorHandler(javax.servlet.http.HttpServletRequest request,
Exception exception) |
protected SpringConfigContext |
getContext() |
protected FeedbackForm |
getFeedbackForm() |
protected NoticeReporter |
getReporter() |
protected String |
jsonErrorString(UUID errorId) |
@Autowired public HoneybadgerSpringExceptionHandler(SpringConfigContext context)
protected boolean acceptsOnlyJson(javax.servlet.http.HttpServletRequest request)
protected String jsonErrorString(UUID errorId) throws IOException
IOException@ExceptionHandler(value=java.lang.Throwable.class) public org.springframework.http.ResponseEntity<String> defaultErrorHandler(javax.servlet.http.HttpServletRequest request, Exception exception) throws Exception
Exceptionprotected SpringConfigContext getContext()
protected NoticeReporter getReporter()
protected FeedbackForm getFeedbackForm()
Copyright © 2021 Honeybadger.io. All rights reserved.