Package com.mysql.cj.xdevapi
Class WarningImpl
java.lang.Object
com.mysql.cj.xdevapi.WarningImpl
public class WarningImpl extends java.lang.Object implements Warning
Warning implementation-
Constructor Summary
Constructors Constructor Description WarningImpl(Warning message)Constructor. -
Method Summary
Modifier and Type Method Description longgetCode()Get warning code.intgetLevel()Get warning level.java.lang.StringgetMessage()Get warning message.
-
Constructor Details
-
WarningImpl
Constructor.- Parameters:
message-Warningobject provided by c/J core.
-
-
Method Details
-
getLevel
public int getLevel()Description copied from interface:WarningGet warning level. -
getCode
public long getCode()Description copied from interface:WarningGet warning code. -
getMessage
public java.lang.String getMessage()Description copied from interface:WarningGet warning message.- Specified by:
getMessagein interfaceWarning- Returns:
- Warning message
-