Top Description Fields Constructors Methods
com.mysql.cj.xdevapi

public Class WarningImpl

extends Object
implements Warning
Class Inheritance
All Implemented Interfaces
com.mysql.cj.xdevapi.Warning, com.mysql.cj.protocol.Warning
Imports
com.mysql.cj.protocol.Warning

com.mysql.cj.xdevapi.Warning implementation

Field Summary

Modifier and TypeField and Description
private Warning

Constructor Summary

AccessConstructor and Description
public
WarningImpl(Warning
Warning object provided by c/J core.
message
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public long
getCode()

Implements com.mysql.cj.protocol.Warning.getCode.

Get warning code.

public int
getLevel()

Implements com.mysql.cj.protocol.Warning.getLevel.

Get warning level.

public String
getMessage()

Implements com.mysql.cj.protocol.Warning.getMessage.

Get warning message.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

messageback to summary
private Warning message

Constructor Detail

WarningImplback to summary
public WarningImpl(Warning message)

Constructor.

Parameters
message:Warning

Warning object provided by c/J core.

Method Detail

getCodeback to summary
public long getCode()

Implements com.mysql.cj.protocol.Warning.getCode.

Doc from com.mysql.cj.protocol.Warning.getCode.

Get warning code.

Returns:long

Warning code

Annotations
@Override
getLevelback to summary
public int getLevel()

Implements com.mysql.cj.protocol.Warning.getLevel.

Doc from com.mysql.cj.protocol.Warning.getLevel.

Get warning level.

Returns:int

Warning level

Annotations
@Override
getMessageback to summary
public String getMessage()

Implements com.mysql.cj.protocol.Warning.getMessage.

Doc from com.mysql.cj.protocol.Warning.getMessage.

Get warning message.

Returns:String

Warning message

Annotations
@Override