class GlobalExceptionHandler: Any
Fields
Name | Description |
---|---|
val LOG: LoggerFactory.getLogger(this.javaClass.name)
|
Constructors
Name | Description |
---|---|
constructor()
|
Methods
myError
fun myError(exception: Exception, redirectAttributes: RedirectAttributes, request: HttpServletRequest): ResponseEntity
Parameters
Name | Description |
---|---|
exception: Exception
|
|
redirectAttributes: RedirectAttributes
|
|
request: HttpServletRequest
|
ReturnValue
Name | Description |
---|---|
ResponseEntity
|
genericException
fun genericException(exception: Exception): ResponseEntity
Parameters
Name | Description |
---|---|
exception: Exception
|
ReturnValue
Name | Description |
---|---|
ResponseEntity
|
accessDeniedException
fun accessDeniedException(exception: Exception): ResponseEntity
Parameters
Name | Description |
---|---|
exception: Exception
|
ReturnValue
Name | Description |
---|---|
ResponseEntity
|