Package org.postgresql.util
Class PSQLException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- org.postgresql.util.PSQLException
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<java.lang.Throwable>
public class PSQLException extends java.sql.SQLException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PSQLException(java.lang.String msg, PSQLState state)
PSQLException(java.lang.String msg, PSQLState state, java.lang.Throwable cause)
PSQLException(ServerErrorMessage serverError)
PSQLException(ServerErrorMessage serverError, boolean detail)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerErrorMessage
getServerErrorMessage()
-
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
-
PSQLException
public PSQLException(java.lang.String msg, PSQLState state, java.lang.Throwable cause)
-
PSQLException
public PSQLException(java.lang.String msg, PSQLState state)
-
PSQLException
public PSQLException(ServerErrorMessage serverError)
-
PSQLException
public PSQLException(ServerErrorMessage serverError, boolean detail)
-
-
Method Detail
-
getServerErrorMessage
public ServerErrorMessage getServerErrorMessage()
-
-