org.postgresql.util
Class PSQLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.sql.SQLException
              extended by org.postgresql.util.PSQLException
All Implemented Interfaces:
Serializable, Iterable<Throwable>

public class PSQLException
extends SQLException

See Also:
Serialized Form

Constructor Summary
PSQLException(ServerErrorMessage serverError)
           
PSQLException(String msg, PSQLState state)
           
PSQLException(String msg, PSQLState state, Throwable cause)
           
 
Method Summary
 ServerErrorMessage getServerErrorMessage()
           
 
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PSQLException

public PSQLException(String msg,
                     PSQLState state,
                     Throwable cause)

PSQLException

public PSQLException(String msg,
                     PSQLState state)

PSQLException

public PSQLException(ServerErrorMessage serverError)
Method Detail

getServerErrorMessage

public ServerErrorMessage getServerErrorMessage()


Copyright © 2013. All Rights Reserved.