public class PgException extends DatabaseException
Constructor and Description |
---|
PgException(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) |
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Deprecated.
use
getSqlState() instead |
String |
getColumn() |
String |
getConstraint() |
String |
getDataType() |
String |
getDetail() |
String |
getErrorMessage() |
String |
getFile() |
String |
getHint() |
String |
getInternalPosition() |
String |
getInternalQuery() |
String |
getLine() |
String |
getPosition() |
String |
getRoutine() |
String |
getSchema() |
String |
getSeverity() |
String |
getSqlState()
SQL State (XOPEN or SQL:2003 conventions).
|
String |
getTable() |
String |
getWhere() |
getErrorCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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)
public String getErrorMessage()
public String getSeverity()
@Deprecated public String getCode()
getSqlState()
insteadpublic String getSqlState()
DatabaseException
getSqlState
in class DatabaseException
public String getDetail()
public String getHint()
public String getPosition()
public String getWhere()
public String getFile()
public String getLine()
public String getRoutine()
public String getSchema()
public String getTable()
public String getColumn()
public String getDataType()
public String getConstraint()
public String getInternalPosition()
Copyright © 2023 Eclipse. All rights reserved.