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 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
-
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:
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
-
-