avalon
Toggle table of contents
0.0.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
avalon
avalon-web-support
/
io.github.lishangbu.avalon.web.exception
/
GlobalExceptionHandler
/
handleSQLException
handle
SQLException
@
ExceptionHandler
(
value
=
[
SQLException::class
]
)
@
ResponseStatus
(
value
=
HttpStatus.INTERNAL_SERVER_ERROR
)
fun
handleSQLException
(
exception
:
SQLException
)
:
ApiResult
<
Void
>
处理SQL 异常