Uses of Class
org.postgresql.util.PSQLException
-
-
Uses of PSQLException in org.postgresql
Methods in org.postgresql that throw PSQLException Modifier and Type Method Description intPGProperty. getInt(java.util.Properties properties)Return the int value for this connection parameter in the givenProperties.java.lang.IntegerPGProperty. getInteger(java.util.Properties properties)Return theIntegervalue for this connection parameter in the givenProperties. -
Uses of PSQLException in org.postgresql.core
Methods in org.postgresql.core that throw PSQLException Modifier and Type Method Description private static voidParser. checkParsePosition(int i, int len, int i0, char[] sql, java.lang.String message)static javax.net.SocketFactorySocketFactoryFactory. getSocketFactory(java.util.Properties info)InstantiatesSocketFactorybased on thePGProperty.SOCKET_FACTORY.static javax.net.ssl.SSLSocketFactorySocketFactoryFactory. getSslSocketFactory(java.util.Properties info)InstantiatesSSLSocketFactorybased on thePGProperty.SSL_FACTORY.voidCommandCompleteParser. parse(java.lang.String status)ParsesCommandComplete (B)message.voidPGStream. setMaxResultBuffer(java.lang.String value)Method to set MaxResultBuffer inside PGStream.static intOid. valueOf(java.lang.String oid) -
Uses of PSQLException in org.postgresql.core.v3
Methods in org.postgresql.core.v3 that throw PSQLException Modifier and Type Method Description private PGStreamConnectionFactoryImpl. enableGSSEncrypted(PGStream pgStream, GSSEncMode gssEncMode, java.lang.String host, java.lang.String user, java.util.Properties info, int connectTimeout)private PGStreamConnectionFactoryImpl. enableSSL(PGStream pgStream, SslMode sslMode, java.util.Properties info, int connectTimeout)voidCopyDualImpl. handleCommandStatus(java.lang.String status)voidCopyOperationImpl. handleCommandStatus(java.lang.String status)protected voidCopyInImpl. handleCopydata(byte[] data)protected abstract voidCopyOperationImpl. handleCopydata(byte[] data)Consume received copy data.private voidQueryExecutorImpl. lock(java.lang.Object obtainer)Obtain lock over this connection for given object, blocking to wait if necessary.private voidQueryExecutorImpl. setSocketTimeout(int millis)private voidQueryExecutorImpl. unlock(java.lang.Object holder)Release lock on this connection presumably held by given object.private voidQueryExecutorImpl. waitOnLock()Wait until our lock is released. -
Uses of PSQLException in org.postgresql.core.v3.replication
Methods in org.postgresql.core.v3.replication that throw PSQLException Modifier and Type Method Description private voidV3PGReplicationStream. checkClose()private voidV3ReplicationProtocol. configureSocketTimeout(CommonOptions options) -
Uses of PSQLException in org.postgresql.gss
Methods in org.postgresql.gss that throw PSQLException Modifier and Type Method Description static voidMakeGSS. authenticate(boolean encrypted, PGStream pgStream, java.lang.String host, java.lang.String user, java.lang.String password, java.lang.String jaasApplicationName, java.lang.String kerberosServerName, boolean useSpnego, boolean jaasLogin, boolean logServerErrorDetail) -
Uses of PSQLException in org.postgresql.jdbc
Methods in org.postgresql.jdbc that return PSQLException Modifier and Type Method Description private static PSQLExceptionPgPreparedStatement. cannotCastException(java.lang.String fromType, java.lang.String toType)private static PSQLExceptionPgPreparedStatement. cannotCastException(java.lang.String fromType, java.lang.String toType, java.lang.Exception cause)private static PSQLExceptionBooleanTypeUtil. cannotCoerceException(java.lang.Object value)Methods in org.postgresql.jdbc that throw PSQLException Modifier and Type Method Description (package private) static booleanBooleanTypeUtil. castToBoolean(java.lang.Object in)Cast an Object value to the corresponding boolean value.private voidPgParameterMetaData. checkParamIndex(int param)private static booleanBooleanTypeUtil. fromCharacter(java.lang.Character charval)private static booleanBooleanTypeUtil. fromNumber(java.lang.Number numval)(package private) static booleanBooleanTypeUtil. fromString(java.lang.String strval)static <A> ArrayEncoding.ArrayEncoder<A>ArrayEncoding. getArrayEncoder(A array)Returns support for encoding array.private static java.util.Set<java.lang.Integer>PgConnection. getBinaryOids(java.util.Properties info)private static java.util.Set<java.lang.Integer>PgConnection. getOidSet(java.lang.String oidList)static GSSEncModeGSSEncMode. of(java.util.Properties info)static SslModeSslMode. of(java.util.Properties info)private doublePgResultSet. readDoubleValue(byte[] bytes, int oid, java.lang.String targetType)Converts any numeric binary field to double value.private longPgResultSet. readLongValue(byte[] bytes, int oid, long minVal, long maxVal, java.lang.String targetType)Converts any numeric binary field to long value.private java.math.BigDecimalPgResultSet. scaleBigDecimal(java.math.BigDecimal val, int scale)private static java.lang.StringEscapedFunctions. singleArgumentFunctionCall(java.lang.String call, java.lang.String functionName, java.util.List<?> parsedArgs)Deprecated.private static voidEscapedFunctions2. singleArgumentFunctionCall(java.lang.StringBuilder buf, java.lang.String call, java.lang.String functionName, java.util.List<? extends java.lang.CharSequence> parsedArgs)voidTimestampUtils. toBinDate(java.util.TimeZone tz, byte[] bytes, java.sql.Date value)Converts the SQL Date to binary representation forOid.DATE.java.sql.DateTimestampUtils. toDateBin(java.util.TimeZone tz, byte[] bytes)Returns the SQL Date object matching the given bytes withOid.DATE.java.time.LocalDateTimeTimestampUtils. toLocalDateTimeBin(byte[] bytes)Returns the local date time object matching the given bytes withOid.TIMESTAMPorOid.TIMESTAMPTZ.java.time.LocalTimeTimestampUtils. toLocalTimeBin(byte[] bytes)Returns the SQL Time object matching the given bytes withOid.TIME.java.time.OffsetDateTimeTimestampUtils. toOffsetDateTimeBin(byte[] bytes)Returns the offset date time object matching the given bytes with Oid#TIMESTAMPTZ.private TimestampUtils.ParsedBinaryTimestampTimestampUtils. toParsedTimestampBin(java.util.TimeZone tz, byte[] bytes, boolean timestamptz)private TimestampUtils.ParsedBinaryTimestampTimestampUtils. toParsedTimestampBinPlain(byte[] bytes)private TimestampUtils.ParsedBinaryTimestampTimestampUtils. toProlepticParsedTimestampBin(byte[] bytes)java.sql.TimeTimestampUtils. toTimeBin(java.util.TimeZone tz, byte[] bytes)Returns the SQL Time object matching the given bytes withOid.TIMEorOid.TIMETZ.java.sql.TimestampTimestampUtils. toTimestampBin(java.util.TimeZone tz, byte[] bytes, boolean timestamptz)Returns the SQL Timestamp object matching the given bytes withOid.TIMESTAMPorOid.TIMESTAMPTZ.private static java.lang.StringEscapedFunctions. twoArgumentsFunctionCall(java.lang.String call, java.lang.String functionName, java.util.List<?> parsedArgs)Deprecated.private static voidEscapedFunctions2. twoArgumentsFunctionCall(java.lang.StringBuilder buf, java.lang.String call, java.lang.String functionName, java.util.List<? extends java.lang.CharSequence> parsedArgs)private static voidEscapedFunctions2. zeroArgumentFunctionCall(java.lang.StringBuilder buf, java.lang.String call, java.lang.String functionName, java.util.List<? extends java.lang.CharSequence> parsedArgs) -
Uses of PSQLException in org.postgresql.jre7.sasl
Methods in org.postgresql.jre7.sasl that throw PSQLException Modifier and Type Method Description voidScramAuthenticator. processServerFirstMessage(int length)voidScramAuthenticator. processServerMechanismsAndInit()voidScramAuthenticator. verifyServerSignature(int length) -
Uses of PSQLException in org.postgresql.ssl
Fields in org.postgresql.ssl declared as PSQLException Modifier and Type Field Description private PSQLExceptionLazyKeyManager. errorprivate PSQLExceptionPKCS12KeyManager. errorMethods in org.postgresql.ssl that throw PSQLException Modifier and Type Method Description static voidMakeSSL. convert(PGStream stream, java.util.Properties info)private javax.security.auth.callback.CallbackHandlerLibPQFactory. getCallbackHandler(java.util.Properties info)private voidLibPQFactory. initP12(java.lang.String sslkeyfile, java.util.Properties info)private voidLibPQFactory. initPk8(java.lang.String sslkeyfile, java.lang.String defaultdir, java.util.Properties info)voidLazyKeyManager. throwKeyManagerException()getCertificateChain and getPrivateKey cannot throw exeptions, therefore any exception is stored inLazyKeyManager.errorand can be raised by this method.voidLibPQFactory. throwKeyManagerException()Propagates any exception fromLazyKeyManager.voidPKCS12KeyManager. throwKeyManagerException()getCertificateChain and getPrivateKey cannot throw exeptions, therefore any exception is stored inPKCS12KeyManager.errorand can be raised by this method.private static voidMakeSSL. verifyPeerName(PGStream stream, java.util.Properties info, javax.net.ssl.SSLSocket newConnection)Constructors in org.postgresql.ssl that throw PSQLException Constructor Description LibPQFactory(java.util.Properties info)PKCS12KeyManager(java.lang.String pkcsFile, javax.security.auth.callback.CallbackHandler cbh) -
Uses of PSQLException in org.postgresql.ssl.jdbc4
Constructors in org.postgresql.ssl.jdbc4 that throw PSQLException Constructor Description LibPQFactory(java.util.Properties info)Deprecated.preferLibPQFactory -
Uses of PSQLException in org.postgresql.util
Methods in org.postgresql.util that throw PSQLException Modifier and Type Method Description private static longPGPropertyMaxResultBufferParser. parseBytePercentValue(java.lang.String value)Method to get percent value of max result buffer size dependable on actual free memory.private static longPGPropertyMaxResultBufferParser. parseByteValue(java.lang.String value)Method to get size based on given string value.static longPGPropertyMaxResultBufferParser. parseProperty(java.lang.String value)Method to parse value of max result buffer size.private static voidPGPropertyMaxResultBufferParser. throwExceptionAboutParsingError(java.lang.String message, java.lang.Object... values)Method to throw message for parsing MaxResultBuffer.Constructors in org.postgresql.util that throw PSQLException Constructor Description StreamWrapper(java.io.InputStream stream)
-