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 String
getColumn()
String
getConstraint()
String
getDatatype()
String
getDetail()
String
getSchema()
String
getTable()
void
setColumn(String column)
void
setConstraint(String constraint)
void
setDatatype(String datatype)
void
setDetail(String details)
void
setSchema(String schema)
void
setTable(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:
getSchema
in interfacePGSQLExceptionInfo
-
setSchema
public void setSchema(String schema)
- Specified by:
setSchema
in interfacePGSQLExceptionInfo
-
getTable
public String getTable()
- Specified by:
getTable
in interfacePGSQLExceptionInfo
-
setTable
public void setTable(String table)
- Specified by:
setTable
in interfacePGSQLExceptionInfo
-
getColumn
public String getColumn()
- Specified by:
getColumn
in interfacePGSQLExceptionInfo
-
setColumn
public void setColumn(String column)
- Specified by:
setColumn
in interfacePGSQLExceptionInfo
-
getDatatype
public String getDatatype()
- Specified by:
getDatatype
in interfacePGSQLExceptionInfo
-
setDatatype
public void setDatatype(String datatype)
- Specified by:
setDatatype
in interfacePGSQLExceptionInfo
-
getConstraint
public String getConstraint()
- Specified by:
getConstraint
in interfacePGSQLExceptionInfo
-
setConstraint
public void setConstraint(String constraint)
- Specified by:
setConstraint
in interfacePGSQLExceptionInfo
-
getDetail
public String getDetail()
- Specified by:
getDetail
in interfacePGSQLExceptionInfo
-
setDetail
public void setDetail(String details)
- Specified by:
setDetail
in interfacePGSQLExceptionInfo
-
-