| 程序包 | 说明 |
|---|---|
| in.clouthink.daas.we |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ErrorDataResponse<T> |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.http.ResponseEntity<ErrorResponse> |
ResponseEntityBuilder.buildResponseEntity(Exception ex,
org.springframework.http.HttpHeaders headers,
org.springframework.http.HttpStatus status) |
org.springframework.http.ResponseEntity<ErrorResponse> |
ResponseEntityBuilder.buildResponseEntity(Exception ex,
org.springframework.http.HttpStatus status) |
org.springframework.http.ResponseEntity<ErrorResponse> |
ResponseEntityBuilder.buildResponseEntity(Exception ex,
org.springframework.http.HttpStatus status,
List<FormError> formErrors) |
org.springframework.http.ResponseEntity<ErrorResponse> |
ResponseEntityBuilder.buildResponseEntity(Exception ex,
String message,
org.springframework.http.HttpHeaders headers,
org.springframework.http.HttpStatus status) |
org.springframework.http.ResponseEntity<ErrorResponse> |
ResponseEntityBuilder.buildResponseEntity(Exception ex,
String message,
org.springframework.http.HttpHeaders headers,
org.springframework.http.HttpStatus status,
Object errorData) |
org.springframework.http.ResponseEntity<ErrorResponse> |
ResponseEntityBuilder.buildResponseEntity(Exception ex,
String message,
org.springframework.http.HttpStatus status) |
org.springframework.http.ResponseEntity<ErrorResponse> |
ResponseEntityBuilder.buildResponseEntity(Exception ex,
String message,
org.springframework.http.HttpStatus status,
List<FormError> formErrors) |
protected org.springframework.http.ResponseEntity<ErrorResponse> |
DefaultErrorResolver.handleBindException(org.springframework.validation.BindException ex,
Object handler,
boolean developerMode)
Handle the case where an @ModelAttribute
method argument has binding or validation errors and is not followed by
another method argument of type
BindingResult. |
protected org.springframework.http.ResponseEntity<ErrorResponse> |
DefaultErrorResolver.handleConversionNotSupported(org.springframework.beans.ConversionNotSupportedException ex,
Object handler,
boolean developerMode)
Handle the case when a
WebDataBinder
conversion cannot occur. |
protected org.springframework.http.ResponseEntity<ErrorResponse> |
DefaultErrorResolver.handleHttpMediaTypeNotAcceptable(org.springframework.web.HttpMediaTypeNotAcceptableException ex,
Object handler,
boolean developerMode)
Handle the case where no
message converters were found that were acceptable for the client
(expressed via the
Accept header. |
protected org.springframework.http.ResponseEntity<ErrorResponse> |
DefaultErrorResolver.handleHttpMediaTypeNotSupported(org.springframework.web.HttpMediaTypeNotSupportedException ex,
Object handler,
boolean developerMode)
Handle the case where no
message converters were found for the PUT or POSTed content.
|
protected org.springframework.http.ResponseEntity<ErrorResponse> |
DefaultErrorResolver.handleHttpMessageNotReadable(org.springframework.http.converter.HttpMessageNotReadableException ex,
Object handler,
boolean developerMode)
Handle the case where a
message converter cannot read from a HTTP request.
|
protected org.springframework.http.ResponseEntity<ErrorResponse> |
DefaultErrorResolver.handleHttpMessageNotWritable(org.springframework.http.converter.HttpMessageNotWritableException ex,
Object handler,
boolean developerMode)
Handle the case where a
message converter cannot write to a HTTP request.
|
protected org.springframework.http.ResponseEntity<ErrorResponse> |
DefaultErrorResolver.handleHttpRequestMethodNotSupported(org.springframework.web.HttpRequestMethodNotSupportedException ex,
Object handler,
boolean developerMode)
Handle the case where no request handler method was found for the
particular HTTP request method.
|
protected org.springframework.http.ResponseEntity<ErrorResponse> |
DefaultErrorResolver.handleInternalServerError(org.springframework.beans.ConversionNotSupportedException ex,
Object handler,
boolean developerMode)
Handle the case when the un-supported exceptions occur
The default implementation sends an HTTP 500 error, and returns an empty
ModelAndView. |
protected org.springframework.http.ResponseEntity<ErrorResponse> |
DefaultErrorResolver.handleMethodArgumentNotValidException(org.springframework.web.bind.MethodArgumentNotValidException ex,
Object handler,
boolean developerMode)
Handle the case where an argument annotated with
@Valid such as
an RequestBody or RequestPart argument fails validation. |
protected org.springframework.http.ResponseEntity<ErrorResponse> |
DefaultErrorResolver.handleMissingServletRequestParameter(org.springframework.web.bind.MissingServletRequestParameterException ex,
Object handler,
boolean developerMode)
Handle the case when a required parameter is missing.
|
protected org.springframework.http.ResponseEntity<ErrorResponse> |
DefaultErrorResolver.handleMissingServletRequestPartException(org.springframework.web.multipart.support.MissingServletRequestPartException ex,
Object handler,
boolean developerMode)
Handle the case where an @RequestPart, a
MultipartFile, or a javax.servlet.http.Part argument is
required but is missing. |
protected org.springframework.http.ResponseEntity<ErrorResponse> |
DefaultErrorResolver.handleNoHandlerFoundException(org.springframework.web.servlet.NoHandlerFoundException ex,
Object handler,
boolean developerMode)
Handle the case where no handler was found during the dispatch.
|
protected org.springframework.http.ResponseEntity<ErrorResponse> |
DefaultErrorResolver.handleNoSuchRequestHandlingMethod(org.springframework.web.servlet.mvc.multiaction.NoSuchRequestHandlingMethodException ex,
Object handler,
boolean developerMode)
Handle the case where no request handler method was found.
|
protected org.springframework.http.ResponseEntity<ErrorResponse> |
DefaultErrorResolver.handleServletRequestBindingException(org.springframework.web.bind.ServletRequestBindingException ex,
Object handler,
boolean developerMode)
Handle the case when an unrecoverable binding exception occurs - e.g.
|
protected org.springframework.http.ResponseEntity<ErrorResponse> |
DefaultErrorResolver.handleTypeMismatch(org.springframework.beans.TypeMismatchException ex,
Object handler,
boolean developerMode)
Handle the case when a
WebDataBinder
conversion error occurs. |
Copyright © 2015. All rights reserved.