Class PSQLException

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<java.lang.Throwable>

    public class PSQLException
    extends java.sql.SQLException
    See Also:
    Serialized Form
    • 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
      • 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

      • 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,
                             boolean detail)