Uses of Class
org.postgresql.util.PSQLException
Packages that use PSQLException
Package
Description
-
Uses of PSQLException in org.postgresql
Methods in org.postgresql that throw PSQLExceptionModifier and TypeMethodDescriptionintPGProperty.getInt(Properties properties) Return the int value for this connection parameter in the givenProperties.PGProperty.getInteger(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 PSQLExceptionModifier and TypeMethodDescriptionprivate static voidParser.checkParsePosition(int i, int len, int i0, char[] sql, String message) static SocketFactorySocketFactoryFactory.getSocketFactory(Properties info) InstantiatesSocketFactorybased on thePGProperty.SOCKET_FACTORY.static SSLSocketFactorySocketFactoryFactory.getSslSocketFactory(Properties info) InstantiatesSSLSocketFactorybased on thePGProperty.SSL_FACTORY.voidParsesCommandComplete (B)message.voidPGStream.setMaxResultBuffer(String value) Method to set MaxResultBuffer inside PGStream.static int -
Uses of PSQLException in org.postgresql.core.v3
Methods in org.postgresql.core.v3 that throw PSQLExceptionModifier and TypeMethodDescriptionScramAuthenticator.advertisedMechanisms(PGStream stream, ChannelBindingOption channelBinding) private static PGStreamConnectionFactoryImpl.enableGSSEncrypted(PGStream pgStream, GSSEncMode gssEncMode, String host, Properties info, int connectTimeout) private static PGStreamConnectionFactoryImpl.enableSSL(PGStream pgStream, SslMode sslMode, Properties info, int connectTimeout) private static byte[]ScramAuthenticator.getChannelBindingData(PGStream stream, ChannelBindingOption channelBinding) (package private) voidScramAuthenticator.handleAuthenticationSASLContinue(int length) (package private) voidScramAuthenticator.handleAuthenticationSASLFinal(int length) voidCopyDualImpl.handleCommandStatus(String status) voidCopyOperationImpl.handleCommandStatus(String status) protected voidCopyInImpl.handleCopydata(byte[] data) protected abstract voidCopyOperationImpl.handleCopydata(byte[] data) Consume received copy data.private static com.ongres.scram.client.ScramClientScramAuthenticator.initializeScramClient(char[] password, PGStream stream, Properties info) private voidObtain lock over this connection for given object, blocking to wait if necessary.static ChannelBindingOptionChannelBindingOption.of(Properties info) private voidQueryExecutorImpl.setSocketTimeout(int millis) private voidRelease lock on this connection presumably held by given object.private voidQueryExecutorImpl.waitOnLock()Wait until our lock is released.static <T> TAuthenticationPluginManager.withEncodedPassword(AuthenticationRequestType type, Properties info, AuthenticationPluginManager.PasswordAction<byte[], T> action) Helper that wrapsAuthenticationPluginManager.withPassword(AuthenticationRequestType, Properties, PasswordAction), checks that it is not-null, and encodes it as a byte array.static <T> TAuthenticationPluginManager.withPassword(AuthenticationRequestType type, Properties info, AuthenticationPluginManager.PasswordAction<char[], T> action) If a password is requested by the server during connection initiation, this method will be invoked to supply the password.Constructors in org.postgresql.core.v3 that throw PSQLExceptionModifierConstructorDescription(package private)ScramAuthenticator(char[] password, PGStream pgStream, Properties info) -
Uses of PSQLException in org.postgresql.core.v3.replication
Methods in org.postgresql.core.v3.replication that throw PSQLExceptionModifier and TypeMethodDescriptionprivate voidV3PGReplicationStream.checkClose()private voidV3ReplicationProtocol.configureSocketTimeout(CommonOptions options) -
Uses of PSQLException in org.postgresql.gss
Methods in org.postgresql.gss that throw PSQLExceptionModifier and TypeMethodDescriptionstatic voidMakeGSS.authenticate(boolean encrypted, PGStream pgStream, String host, String user, char[] password, String jaasApplicationName, String kerberosServerName, boolean useSpnego, boolean jaasLogin, boolean gssUseDefaultCreds, boolean logServerErrorDetail) -
Uses of PSQLException in org.postgresql.jdbc
Methods in org.postgresql.jdbc that return PSQLExceptionModifier and TypeMethodDescriptionprivate static PSQLExceptionPgPreparedStatement.cannotCastException(String fromType, String toType) private static PSQLExceptionPgPreparedStatement.cannotCastException(String fromType, String toType, Exception cause) private static PSQLExceptionBooleanTypeUtil.cannotCoerceException(Object value) Methods in org.postgresql.jdbc that throw PSQLExceptionModifier and TypeMethodDescription(package private) static booleanBooleanTypeUtil.castToBoolean(Object in) Cast an Object value to the corresponding boolean value.private voidPgParameterMetaData.checkParamIndex(int param) private static booleanBooleanTypeUtil.fromCharacter(Character charval) private static booleanBooleanTypeUtil.fromNumber(Number numval) (package private) static booleanBooleanTypeUtil.fromString(String strval) static <A> ArrayEncoding.ArrayEncoder<A> ArrayEncoding.getArrayEncoder(A array) Returns support for encoding array.PgConnection.getBinaryDisabledOids(Properties info) Gets all oids for which binary transfer should be disabled.PgConnection.getBinaryEnabledOids(Properties info) Gets all oids for which binary transfer can be enabled.static GSSEncModeGSSEncMode.of(Properties info) static SslModeSslMode.of(Properties info) private static doublePgResultSet.readDoubleValue(byte[] bytes, int oid, String targetType) Converts any numeric binary field to double value.private static longPgResultSet.readLongValue(byte[] bytes, int oid, long minVal, long maxVal, String targetType) Converts any numeric binary field to long value.private static BigDecimalPgResultSet.scaleBigDecimal(BigDecimal val, int scale) private static StringEscapedFunctions.singleArgumentFunctionCall(String call, String functionName, List<?> parsedArgs) Deprecated.private static voidEscapedFunctions2.singleArgumentFunctionCall(StringBuilder buf, String call, String functionName, List<? extends CharSequence> parsedArgs) voidConverts the SQL Date to binary representation forOid.DATE.Returns the SQL Date object matching the given bytes withOid.DATE.TimestampUtils.toLocalDateBin(byte[] bytes) Returns the local date time object matching the given bytes withOid.DATEorOid.TIMESTAMP.TimestampUtils.toLocalDateTimeBin(byte[] bytes) Returns the local date time object matching the given bytes withOid.TIMESTAMPorOid.TIMESTAMPTZ.TimestampUtils.toLocalTimeBin(byte[] bytes) Returns the SQL Time object matching the given bytes withOid.TIME.TimestampUtils.toOffsetDateTimeBin(byte[] bytes) Returns the offset date time object matching the given bytes with Oid#TIMESTAMPTZ.TimestampUtils.toOffsetTimeBin(byte[] bytes) Returns the offset time object matching the given bytes with Oid#TIMETZ or Oid#TIME.TimestampUtils.toParsedTimestampBin(TimeZone tz, byte[] bytes, boolean timestamptz) TimestampUtils.toParsedTimestampBinPlain(byte[] bytes) TimestampUtils.toProlepticParsedTimestampBin(byte[] bytes) TimestampUtils.toStringOffsetDateTime(byte[] value) Convertstimestamptzto string taking client time zone (TimestampUtils.timeZoneProvider) into account.TimestampUtils.toStringOffsetTimeBin(byte[] value) Convertstimetzto string taking client time zone (TimestampUtils.timeZoneProvider) into account.Returns the SQL Time object matching the given bytes withOid.TIMEorOid.TIMETZ.TimestampUtils.toTimestampBin(TimeZone tz, byte[] bytes, boolean timestamptz) Returns the SQL Timestamp object matching the given bytes withOid.TIMESTAMPorOid.TIMESTAMPTZ.private static StringEscapedFunctions.twoArgumentsFunctionCall(String call, String functionName, List<?> parsedArgs) Deprecated.private static voidEscapedFunctions2.twoArgumentsFunctionCall(StringBuilder buf, String call, String functionName, List<? extends CharSequence> parsedArgs) private static voidEscapedFunctions2.zeroArgumentFunctionCall(StringBuilder buf, String call, String functionName, List<? extends CharSequence> parsedArgs) -
Uses of PSQLException in org.postgresql.plugin
Methods in org.postgresql.plugin that throw PSQLExceptionModifier and TypeMethodDescriptionchar[]AuthenticationPlugin.getPassword(AuthenticationRequestType type) Callback method to provide the password to use for authentication. -
Uses of PSQLException in org.postgresql.ssl
Fields in org.postgresql.ssl declared as PSQLExceptionModifier and TypeFieldDescriptionprivate PSQLExceptionLazyKeyManager.errorprivate PSQLExceptionPKCS12KeyManager.errorMethods in org.postgresql.ssl that throw PSQLExceptionModifier and TypeMethodDescriptionstatic voidMakeSSL.convert(PGStream stream, Properties info) private CallbackHandlerLibPQFactory.getCallbackHandler(Properties info) private voidLibPQFactory.initP12(String sslkeyfile, Properties info) private voidLibPQFactory.initPk8(String sslkeyfile, String defaultdir, Properties info) voidLazyKeyManager.throwKeyManagerException()getCertificateChain and getPrivateKey cannot throw exceptions, 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 exceptions, therefore any exception is stored inPKCS12KeyManager.errorand can be raised by this method.private static voidMakeSSL.verifyPeerName(PGStream stream, Properties info, SSLSocket newConnection) Constructors in org.postgresql.ssl that throw PSQLExceptionModifierConstructorDescriptionLibPQFactory(Properties info) PKCS12KeyManager(String pkcsFile, CallbackHandler cbh) -
Uses of PSQLException in org.postgresql.ssl.jdbc4
Constructors in org.postgresql.ssl.jdbc4 that throw PSQLException -
Uses of PSQLException in org.postgresql.util
Methods in org.postgresql.util that throw PSQLExceptionModifier and TypeMethodDescriptionprivate static longPGPropertyMaxResultBufferParser.parseBytePercentValue(String value) Method to get percent value of max result buffer size dependable on actual free memory.private static longPGPropertyMaxResultBufferParser.parseByteValue(String value) Method to get size based on given string value.static longPGPropertyMaxResultBufferParser.parseProperty(String value) Method to parse value of max result buffer size.private static voidPGPropertyMaxResultBufferParser.throwExceptionAboutParsingError(String message, Object... values) Method to throw message for parsing MaxResultBuffer.Constructors in org.postgresql.util that throw PSQLException
LibPQFactory