htwdd.chessgame.server.exceptions / ExceptionHandler / handleRuntimeException
handleRuntimeException
@ExceptionHandler([RuntimeException]) @ResponseStatus(HttpStatus.CONFLICT) fun handleRuntimeException(ex:
Exception
, request: WebRequest):
ErrorResponseObject
Handles RuntimeException
Parameters
ex
- RuntimeException
request
- Http request object
Author Felix Dimmel
Return ErrorResponseObject
Since 1.0.0