Uses of Interface
cc.carm.lib.easysql.api.function.SQLExceptionHandler
-
Packages that use SQLExceptionHandler Package Description cc.carm.lib.easysql.api cc.carm.lib.easysql.api.function -
-
Uses of SQLExceptionHandler in cc.carm.lib.easysql.api
Methods in cc.carm.lib.easysql.api that return SQLExceptionHandler Modifier and Type Method Description default SQLExceptionHandler
SQLAction. defaultExceptionHandler()
获取管理器提供的默认异常处理器。@NotNull SQLExceptionHandler
SQLManager. getExceptionHandler()
获取改管理器提供的默认异常处理器。Methods in cc.carm.lib.easysql.api with parameters of type SQLExceptionHandler Modifier and Type Method Description default <R> R
SQLAction. execute(@NotNull SQLFunction<T,R> function, @Nullable SQLExceptionHandler exceptionHandler)
执行语句并处理返回值default <R> R
SQLAction. execute(@NotNull SQLFunction<T,R> function, R defaultResult, @Nullable SQLExceptionHandler exceptionHandler)
执行语句并处理返回值default T
SQLAction. execute(@Nullable SQLExceptionHandler exceptionHandler)
执行语句并返回值void
SQLAction. executeAsync(@Nullable SQLHandler<T> success, @Nullable SQLExceptionHandler failure)
异步执行SQL语句default void
SQLAction. handleException(@Nullable SQLExceptionHandler handler, java.sql.SQLException exception)
default void
SQLAction. setExceptionHandler(@Nullable SQLExceptionHandler handler)
设定通用的异常处理器。void
SQLManager. setExceptionHandler(@Nullable SQLExceptionHandler handler)
设定通用的异常处理器。 -
Uses of SQLExceptionHandler in cc.carm.lib.easysql.api.function
Methods in cc.carm.lib.easysql.api.function that return SQLExceptionHandler Modifier and Type Method Description static SQLExceptionHandler
SQLExceptionHandler. detailed(org.slf4j.Logger logger)
默认的异常处理器,将详细的输出相关错误与错误来源。static SQLExceptionHandler
SQLExceptionHandler. silent()
“安静“ 的错误处理器,发生错误什么都不做。
-