| Package | Description |
|---|---|
| de.alpharogroup.spring.exceptionhandling |
| Modifier and Type | Method and Description |
|---|---|
static ExceptionViewModel |
ExceptionHandlerExtensions.newExceptionViewModel(javax.servlet.http.HttpServletRequest request,
org.springframework.http.HttpStatus httpStatus,
String developerMessage,
String userMessage)
Factory method for create a new
ExceptionViewModel from the given arguments |
static ExceptionViewModel |
ExceptionHandlerExtensions.newExceptionViewModel(org.springframework.web.context.request.ServletWebRequest request,
org.springframework.http.HttpStatus status,
String developerMessage,
String userMessage)
Factory method for create a new
ExceptionViewModel from the given arguments |
static ExceptionViewModel |
ExceptionHandlerExtensions.newExceptionViewModelWith(org.springframework.web.context.request.WebRequest request,
org.springframework.http.HttpStatus status,
String developerMessage,
String userMessage)
Factory method for create a new
ExceptionViewModel from the given arguments |
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.http.ResponseEntity<Object> |
ExceptionHandlerExtensions.newResponseEntity(ExceptionViewModel exceptionViewModel)
Factory method for create a new
ResponseEntity with the given
ExceptionViewModel object |
Copyright © 2015–2019 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.