Package migratedb.v1.core.internal.jdbc
Class WarningImpl
- java.lang.Object
-
- migratedb.v1.core.internal.jdbc.WarningImpl
-
-
Constructor Summary
Constructors Constructor Description WarningImpl(int code, String state, String message)An warning that occurred while executing a statement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCode()StringgetMessage()StringgetState()booleanisHandled()Checks whether this warning has already been handled.voidsetHandled(boolean handled)Sets whether this warning has already been handled.
-
-
-
Method Detail
-
getState
public String getState()
-
getMessage
public String getMessage()
- Specified by:
getMessagein interfaceWarning- Returns:
- The warning message.
-
isHandled
public boolean isHandled()
Description copied from interface:WarningChecks whether this warning has already been handled.
-
setHandled
public void setHandled(boolean handled)
Description copied from interface:WarningSets whether this warning has already been handled.- Specified by:
setHandledin interfaceWarning- Parameters:
handled-trueif this warning has already be handled orfalseif it should flow via the default warning handler.
-
-