| Package | Description |
|---|---|
| cn.home1.oss.lib.errorhandle.api | |
| cn.home1.oss.lib.errorhandle.internal | |
| cn.home1.oss.lib.errorhandle.starter |
| Modifier and Type | Method and Description |
|---|---|
ResolvedError |
ResolvedError.eraseTraces()
before set into cookie, call this method to avoid header size exceed limit.
|
static ResolvedError |
ResolvedError.fromErrorAttributes(Map<String,Object> map) |
ResolvedError |
ResolvedErrorException.getError() |
ResolvedError |
AbstractConcreteExceptionResolver.resolve(javax.servlet.http.HttpServletRequest request,
T throwable) |
ResolvedError |
ExceptionResolver.resolve(javax.servlet.http.HttpServletRequest request,
T throwable) |
ResolvedError |
AbstractConcreteExceptionResolver.resolve(org.springframework.web.context.request.RequestAttributes requestAttributes,
T throwable) |
ResolvedError |
ExceptionResolver.resolve(org.springframework.web.context.request.RequestAttributes requestAttributes,
T throwable) |
protected ResolvedError |
AbstractConcreteExceptionResolver.resolve(org.springframework.web.context.request.RequestAttributes requestAttributes,
T throwable,
org.joda.time.DateTime now,
Boolean stackTrace,
String path,
String track) |
ResolvedError |
ResolvedError.trackPrepend(String track) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractConcreteExceptionResolver.logError(org.springframework.web.context.request.RequestAttributes requestAttributes,
T throwable,
ResolvedError resolvedError)
Logs the exception; on ERROR level when status is 5xx, otherwise on INFO level without stack
trace, or DEBUG level with stack trace.
|
| Constructor and Description |
|---|
ResolvedErrorException(ResolvedError error) |
| Modifier and Type | Method and Description |
|---|---|
ResolvedError |
CompositeExceptionResolver.resolve(javax.servlet.http.HttpServletRequest request,
Throwable throwable) |
ResolvedError |
CompositeExceptionResolver.resolve(org.springframework.web.context.request.RequestAttributes requestAttributes,
Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.http.ResponseEntity<ResolvedError> |
BaseErrorController.error(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.http.ResponseEntity<ResolvedError> |
BaseErrorController.RestfulErrorController.error(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.http.ResponseEntity<ResolvedError> |
BaseErrorController.MixedErrorController.error(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.ModelAndView |
TemplateExceptionHandler.handleResolved(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ResolvedError resolvedError) |
void |
RestfulExceptionHandler.handleResolved(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ResolvedError resolvedError) |
| Modifier and Type | Method and Description |
|---|---|
static cn.home1.oss.lib.webmvc.api.TypeSafeCookie<ResolvedError> |
ErrorHandleAutoConfiguration.buildResolvedErrorCookie(cn.home1.oss.lib.webmvc.api.DomainResolver domainResolver,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
cn.home1.oss.lib.webmvc.api.TypeSafeCookie<ResolvedError> |
ErrorHandleAutoConfiguration.resolvedErrorCookie() |
Copyright © 2017. All rights reserved.