Class PgSqlException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.mfvanek.pg.connection.exception.PgSqlException
- All Implemented Interfaces:
Serializable
Custom unchecked exception for SQL errors.
- Since:
- 0.5.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPgSqlException(SQLException cause) Constructs a newPgSqlExceptionwith the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PgSqlException
Constructs a newPgSqlExceptionwith the specified cause.- Parameters:
cause- theSQLExceptionthat caused this exception; must not benull.
-