Package com.mysql.cj.protocol.x
Class XProtocolError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.mysql.cj.exceptions.CJException
com.mysql.cj.protocol.x.XProtocolError
- All Implemented Interfaces:
java.io.Serializable
public class XProtocolError extends CJException
An Error returned from X Plugin.
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description XProtocolError(XProtocolError fromOtherThread)XProtocolError(Mysqlx.Error msg)XProtocolError(java.lang.String message)XProtocolError(java.lang.String message, java.lang.Throwable t) -
Method Summary
Modifier and Type Method Description intgetErrorCode()java.lang.StringgetSQLState()Methods inherited from class com.mysql.cj.exceptions.CJException
appendMessage, getMessage, getVendorCode, isTransient, setSQLState, setTransient, setVendorCode
-
Constructor Details
-
XProtocolError
public XProtocolError(java.lang.String message) -
XProtocolError
-
XProtocolError
-
XProtocolError
public XProtocolError(java.lang.String message, java.lang.Throwable t)
-
-
Method Details
-
getErrorCode
public int getErrorCode() -
getSQLState
public java.lang.String getSQLState()- Overrides:
getSQLStatein classCJException
-