Package io.vertx.mssqlclient
Class MSSQLException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.vertx.core.VertxException
-
- io.vertx.sqlclient.DatabaseException
-
- io.vertx.mssqlclient.MSSQLException
-
- All Implemented Interfaces:
Serializable
public class MSSQLException extends DatabaseException
TheDatabaseExceptionfor MS SQL Server.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MSSQLException(int number, byte state, byte severity, String errorMessage, String serverName, String procedureName, int lineNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(MSSQLException e)List<MSSQLException>additional()StringerrorMessage()intlineNumber()StringprocedureName()StringserverName()byteseverity()bytestate()-
Methods inherited from class io.vertx.sqlclient.DatabaseException
getErrorCode, getSqlState
-
Methods inherited from class io.vertx.core.VertxException
noStackTrace, noStackTrace, noStackTrace
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
add
public void add(MSSQLException e)
-
state
public byte state()
-
severity
public byte severity()
-
errorMessage
public String errorMessage()
-
serverName
public String serverName()
-
procedureName
public String procedureName()
-
lineNumber
public int lineNumber()
-
additional
public List<MSSQLException> additional()
- Returns:
- additional errors reported by the client, or
null
-
-