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,java.io.Serializable,java.lang.Iterable<java.lang.Throwable>
public class PGSQLSimpleException extends java.sql.SQLException implements PGSQLExceptionInfo
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PGSQLSimpleException()PGSQLSimpleException(java.lang.String reason)PGSQLSimpleException(java.lang.String reason, java.lang.String SQLState)PGSQLSimpleException(java.lang.String reason, java.lang.String SQLState, int vendorCode)PGSQLSimpleException(java.lang.String reason, java.lang.String sqlState, int vendorCode, java.lang.Throwable cause)PGSQLSimpleException(java.lang.String reason, java.lang.String sqlState, java.lang.Throwable cause)PGSQLSimpleException(java.lang.String reason, java.lang.Throwable cause)PGSQLSimpleException(java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetColumn()java.lang.StringgetConstraint()java.lang.StringgetDatatype()java.lang.StringgetSchema()java.lang.StringgetTable()voidsetColumn(java.lang.String column)voidsetConstraint(java.lang.String constraint)voidsetDatatype(java.lang.String datatype)voidsetSchema(java.lang.String schema)voidsetTable(java.lang.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
-
-
-
-
Constructor Detail
-
PGSQLSimpleException
public PGSQLSimpleException()
-
PGSQLSimpleException
public PGSQLSimpleException(java.lang.String reason, java.lang.String sqlState, int vendorCode, java.lang.Throwable cause)
-
PGSQLSimpleException
public PGSQLSimpleException(java.lang.String reason, java.lang.String SQLState, int vendorCode)
-
PGSQLSimpleException
public PGSQLSimpleException(java.lang.String reason, java.lang.String sqlState, java.lang.Throwable cause)
-
PGSQLSimpleException
public PGSQLSimpleException(java.lang.String reason, java.lang.String SQLState)
-
PGSQLSimpleException
public PGSQLSimpleException(java.lang.String reason, java.lang.Throwable cause)
-
PGSQLSimpleException
public PGSQLSimpleException(java.lang.String reason)
-
PGSQLSimpleException
public PGSQLSimpleException(java.lang.Throwable cause)
-
-
Method Detail
-
getSchema
public java.lang.String getSchema()
- Specified by:
getSchemain interfacePGSQLExceptionInfo
-
setSchema
public void setSchema(java.lang.String schema)
- Specified by:
setSchemain interfacePGSQLExceptionInfo
-
getTable
public java.lang.String getTable()
- Specified by:
getTablein interfacePGSQLExceptionInfo
-
setTable
public void setTable(java.lang.String table)
- Specified by:
setTablein interfacePGSQLExceptionInfo
-
getColumn
public java.lang.String getColumn()
- Specified by:
getColumnin interfacePGSQLExceptionInfo
-
setColumn
public void setColumn(java.lang.String column)
- Specified by:
setColumnin interfacePGSQLExceptionInfo
-
getDatatype
public java.lang.String getDatatype()
- Specified by:
getDatatypein interfacePGSQLExceptionInfo
-
setDatatype
public void setDatatype(java.lang.String datatype)
- Specified by:
setDatatypein interfacePGSQLExceptionInfo
-
getConstraint
public java.lang.String getConstraint()
- Specified by:
getConstraintin interfacePGSQLExceptionInfo
-
setConstraint
public void setConstraint(java.lang.String constraint)
- Specified by:
setConstraintin interfacePGSQLExceptionInfo
-
-