htwdd.chessgame.server.exceptions / ExceptionHandler / handleUnknownException
handleUnknownException
@ExceptionHandler([Exception]) @ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR) fun handleUnknownException(ex:
Exception
, request: WebRequest):
ErrorResponseObject
Handles all unforeseen exception
Parameters
ex
- InternalServerError
request
- Http request object
Author Felix Dimmel
Return ErrorResponseObject
Since 1.0.0