接口 SqlExceptionHelper.WarningHandler
-
- 封闭类:
- SqlExceptionHelper
public static interface SqlExceptionHelper.WarningHandlerContract for handlingwarnings
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 booleandoProcess()Should processing be done?voidhandleWarning(SQLWarning warning)Handle an individual warning in the stack.voidprepare(SQLWarning warning)Prepare for processing of awarningstack.
-
-
-
方法详细资料
-
doProcess
boolean doProcess()
Should processing be done? Allows short-circuiting if not.- 返回:
- True to process warnings, false otherwise.
-
prepare
void prepare(SQLWarning warning)
Prepare for processing of awarningstack. Note that the warning here is also the first passed tohandleWarning(java.sql.SQLWarning)- 参数:
warning- The first warning in the stack.
-
handleWarning
void handleWarning(SQLWarning warning)
Handle an individual warning in the stack.- 参数:
warning- The warning to handle.
-
-