Package com.impossibl.postgres.jdbc
Class PGSQLSimpleException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- com.impossibl.postgres.jdbc.PGSQLSimpleException
-
- All Implemented Interfaces:
PGSQLExceptionInfo,Serializable,Iterable<Throwable>
public class PGSQLSimpleException extends SQLException implements PGSQLExceptionInfo
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PGSQLSimpleException()PGSQLSimpleException(String reason)PGSQLSimpleException(String reason, String SQLState)PGSQLSimpleException(String reason, String SQLState, int vendorCode)PGSQLSimpleException(String reason, String sqlState, int vendorCode, Throwable cause)PGSQLSimpleException(String reason, String sqlState, Throwable cause)PGSQLSimpleException(String reason, Throwable cause)PGSQLSimpleException(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
-
PGSQLSimpleException
public PGSQLSimpleException()
-
PGSQLSimpleException
public PGSQLSimpleException(String reason, String sqlState, int vendorCode, Throwable cause)
-
PGSQLSimpleException
public PGSQLSimpleException(String reason)
-
PGSQLSimpleException
public PGSQLSimpleException(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
-
-