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