Package com.impossibl.postgres.jdbc
Class PGSQLIntegrityConstraintViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- java.sql.SQLNonTransientException
-
- java.sql.SQLIntegrityConstraintViolationException
-
- com.impossibl.postgres.jdbc.PGSQLIntegrityConstraintViolationException
-
- All Implemented Interfaces:
PGSQLExceptionInfo,Serializable,Iterable<Throwable>
public class PGSQLIntegrityConstraintViolationException extends SQLIntegrityConstraintViolationException implements PGSQLExceptionInfo
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PGSQLIntegrityConstraintViolationException()PGSQLIntegrityConstraintViolationException(String reason)PGSQLIntegrityConstraintViolationException(String reason, String SQLState)PGSQLIntegrityConstraintViolationException(String reason, String SQLState, int vendorCode)PGSQLIntegrityConstraintViolationException(String reason, String SQLState, int vendorCode, Throwable cause)PGSQLIntegrityConstraintViolationException(String reason, String SQLState, Throwable cause)PGSQLIntegrityConstraintViolationException(String reason, Throwable cause)PGSQLIntegrityConstraintViolationException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetColumn()StringgetConstraint()StringgetDatatype()StringgetDetail()StringgetSchema()StringgetTable()voidsetColumn(String column)voidsetConstraint(String constraint)voidsetDatatype(String datatype)voidsetDetail(String details)voidsetSchema(String schema)voidsetTable(String table)-
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
PGSQLIntegrityConstraintViolationException
public PGSQLIntegrityConstraintViolationException()
-
PGSQLIntegrityConstraintViolationException
public PGSQLIntegrityConstraintViolationException(String reason, String SQLState, int vendorCode, Throwable cause)
-
PGSQLIntegrityConstraintViolationException
public PGSQLIntegrityConstraintViolationException(String reason, String SQLState, int vendorCode)
-
PGSQLIntegrityConstraintViolationException
public PGSQLIntegrityConstraintViolationException(String reason, String SQLState, Throwable cause)
-
PGSQLIntegrityConstraintViolationException
public PGSQLIntegrityConstraintViolationException(String reason, String SQLState)
-
PGSQLIntegrityConstraintViolationException
public PGSQLIntegrityConstraintViolationException(String reason, Throwable cause)
-
PGSQLIntegrityConstraintViolationException
public PGSQLIntegrityConstraintViolationException(String reason)
-
PGSQLIntegrityConstraintViolationException
public PGSQLIntegrityConstraintViolationException(Throwable cause)
-
-
Method Detail
-
getSchema
public String getSchema()
- Specified by:
getSchemain interfacePGSQLExceptionInfo
-
setSchema
public void setSchema(String schema)
- Specified by:
setSchemain interfacePGSQLExceptionInfo
-
getTable
public String getTable()
- Specified by:
getTablein interfacePGSQLExceptionInfo
-
setTable
public void setTable(String table)
- Specified by:
setTablein interfacePGSQLExceptionInfo
-
getColumn
public String getColumn()
- Specified by:
getColumnin interfacePGSQLExceptionInfo
-
setColumn
public void setColumn(String column)
- Specified by:
setColumnin interfacePGSQLExceptionInfo
-
getDatatype
public String getDatatype()
- Specified by:
getDatatypein interfacePGSQLExceptionInfo
-
setDatatype
public void setDatatype(String datatype)
- Specified by:
setDatatypein interfacePGSQLExceptionInfo
-
getConstraint
public String getConstraint()
- Specified by:
getConstraintin interfacePGSQLExceptionInfo
-
setConstraint
public void setConstraint(String constraint)
- Specified by:
setConstraintin interfacePGSQLExceptionInfo
-
getDetail
public String getDetail()
- Specified by:
getDetailin interfacePGSQLExceptionInfo
-
setDetail
public void setDetail(String details)
- Specified by:
setDetailin interfacePGSQLExceptionInfo
-
-