Class PgException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.vertx.core.VertxException
io.vertx.sqlclient.DatabaseException
io.vertx.pgclient.PgException
- All Implemented Interfaces:
Serializable
PostgreSQL error including all fields
of the ErrorResponse message of the PostgreSQL frontend/backend protocol.
- Author:
- Julien Viet
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPgException(String errorMessage, String severity, String code, String detail) PgException(String errorMessage, String severity, String code, String detail, String hint, String position, String internalPosition, String internalQuery, String where, String file, String line, String routine, String schema, String table, String column, String dataType, String constraint) -
Method Summary
Methods inherited from class DatabaseException
getErrorCodeMethods inherited from class VertxException
noStackTrace, noStackTrace, noStackTraceMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PgException
-
PgException
-
-
Method Details
-
getErrorMessage
-
getSeverity
-
getSqlState
Description copied from class:DatabaseExceptionSQL State (XOPEN or SQL:2003 conventions).- Overrides:
getSqlStatein classDatabaseException- Returns:
- the SQLSTATE code for the error ('S' field, value list), it is never localized
-
getDetail
-
getHint
-
getPosition
-
getWhere
-
getFile
-
getLine
-
getRoutine
-
getSchema
-
getTable
-
getColumn
-
getDataType
-
getConstraint
-
getInternalPosition
-
getInternalQuery
-