public class XProtocolError extends CJException
| Modifier and Type | Field and Description |
|---|---|
private Mysqlx.Error |
msg
The error message returned from the server.
|
private static long |
serialVersionUID |
exceptionMessage| Constructor and Description |
|---|
XProtocolError(Mysqlx.Error msg) |
XProtocolError(java.lang.String message) |
XProtocolError(java.lang.String message,
java.lang.Throwable t) |
XProtocolError(XProtocolError fromOtherThread) |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode() |
private static java.lang.String |
getFullErrorDescription(Mysqlx.Error msg)
Format the error message's contents into a complete error description for the exception.
|
java.lang.String |
getSQLState() |
appendMessage, getMessage, getVendorCode, isTransient, setSQLState, setTransient, setVendorCodeprivate static final long serialVersionUID
private Mysqlx.Error msg
public XProtocolError(java.lang.String message)
public XProtocolError(Mysqlx.Error msg)
public XProtocolError(XProtocolError fromOtherThread)
public XProtocolError(java.lang.String message,
java.lang.Throwable t)
private static java.lang.String getFullErrorDescription(Mysqlx.Error msg)
msg - Mysqlx.Errorpublic int getErrorCode()
public java.lang.String getSQLState()
getSQLState in class CJException