## Uses of Class
com.amazon.redshift.util.RedshiftException

Packages that use RedshiftException
com.amazon.redshift
com.amazon.redshift.core
com.amazon.redshift.ds.common
com.amazon.redshift.jdbc
com.amazon.redshift.jre7.sasl
com.amazon.redshift.plugin
com.amazon.redshift.ssl
com.amazon.redshift.ssl.jdbc4
com.amazon.redshift.util

### Uses of RedshiftException in com.amazon.redshift

Methods in com.amazon.redshift that throw RedshiftException
`boolean` Driver.`acceptsURL(String url)` Returns true if the driver thinks it can open a connection to the given URL.
`NativeTokenHolder` INativePlugin.`getCredentials()`
`String` INativePlugin.`getIdpToken()`
`int` RedshiftProperty.`getInt(Properties properties)` Return the int value for this connection parameter in the given `Properties`.
`Integer` RedshiftProperty.`getInteger(Properties properties)` Return the `Integer` value for this connection parameter in the given `Properties`.
`DriverPropertyInfo[]` Driver.`getPropertyInfo(String url, Properties info)` The getPropertyInfo method is intended to allow a generic GUI tool to discover what properties it should prompt a human for in order to get enough information to connect to a database.
`static RedshiftProperties` Driver.`parseURL(String url, RedshiftProperties defaults)` Constructs a new DriverURL, splitting the specified URL into its component parts.
`void` INativePlugin.`refresh()`

### Uses of RedshiftException in com.amazon.redshift.core

Methods in com.amazon.redshift.core that throw RedshiftException
`static SocketFactory` SocketFactoryFactory.`getSocketFactory(Properties info)` Instantiates `SocketFactory` based on the `RedshiftProperty.SOCKET_FACTORY`.
`static SSLSocketFactory` SocketFactoryFactory.`getSslSocketFactory(Properties info)` Instantiates `SSLSocketFactory` based on the `RedshiftProperty.SSL_FACTORY`.
`void` CommandCompleteParser.`parse(String status)` Parses `CommandComplete (B)` message.
`protected static RedshiftProperties` IdpAuthHelper.`setAuthProperties(RedshiftProperties info, RedshiftJDBCSettings settings, RedshiftLogger log)`
`static RedshiftProperties` IamHelper.`setIAMProperties(RedshiftProperties info, RedshiftJDBCSettings settings, RedshiftLogger log)` Helper function to handle IAM connection properties.
`void` RedshiftStream.`setMaxResultBuffer(String value)` Method to set MaxResultBuffer inside RedshiftStream.
`static RedshiftProperties` NativeAuthPluginHelper.`setNativeAuthPluginProperties(RedshiftProperties info, RedshiftJDBCSettings settings, RedshiftLogger log)` Helper function to handle Native Auth Plugin connection properties.
`static int` Oid.`valueOf(String oid)`

### Uses of RedshiftException in com.amazon.redshift.ds.common

Methods in com.amazon.redshift.ds.common that throw RedshiftException
`void` BaseDataSource.`setUrl(String url)` Sets properties from a `DriverManager` URL.
`void` BaseDataSource.`setURL(String url)` Sets properties from a `DriverManager` URL.

### Uses of RedshiftException in com.amazon.redshift.jdbc

Methods in com.amazon.redshift.jdbc that throw RedshiftException
`protected void` RedshiftResultSet.`addWarning(SQLWarning warnings)`
`static String` RedshiftConnectionImpl.`getRequiredConnSetting(String key, Properties info)`
`static String` RedshiftConnectionImpl.`getRequiredSetting(String key, Properties info)` Get the required setting, and throw an exception if it isn't present.
`static SslMode` SslMode.`of(Properties info)`
`int` RedshiftDatabaseMetaData.`supportSHOWDiscovery()`
`void` TimestampUtils.`toBinDate(TimeZone tz, byte[] bytes, Date value)` Converts the SQL Date to binary representation for `Oid.DATE`.
`void` TimestampUtils.`toBinTimestamp(TimeZone tz, byte[] bytes, Timestamp value)` Converts the SQL Timestamp to binary representation for `Oid.TIMESTAMP`.
`Date` TimestampUtils.`toDateBin(TimeZone tz, byte[] bytes)` Returns the SQL Date object matching the given bytes with `Oid.DATE`.
`LocalDateTime` TimestampUtils.`toLocalDateTimeBin(byte[] bytes)` Returns the local date time object matching the given bytes with `Oid.TIMESTAMP` or `Oid.TIMESTAMPTZ`.
`LocalTime` TimestampUtils.`toLocalTimeBin(byte[] bytes)` Returns the SQL Time object matching the given bytes with `Oid.TIME`.
`OffsetDateTime` TimestampUtils.`toOffsetDateTimeBin(byte[] bytes)` Returns the offset date time object matching the given bytes with Oid#TIMESTAMPTZ.
`Time` TimestampUtils.`toTimeBin(TimeZone tz, byte[] bytes)` Returns the SQL Time object matching the given bytes with `Oid.TIME` or `Oid.TIMETZ`.
`Timestamp` TimestampUtils.`toTimestampAbsTimeBin(TimeZone tz, byte[] bytes, boolean timestamptz, Calendar cal)` Returns the SQL Timestamp object matching the given bytes with `Oid.TIMESTAMP` or `Oid.TIMESTAMPTZ`.
`Timestamp` TimestampUtils.`toTimestampBin(TimeZone tz, byte[] bytes, boolean timestamptz, Calendar cal)` Returns the SQL Timestamp object matching the given bytes with `Oid.TIMESTAMP` or `Oid.TIMESTAMPTZ`.

### Uses of RedshiftException in com.amazon.redshift.jre7.sasl

Methods in com.amazon.redshift.jre7.sasl that throw RedshiftException
`void` ScramAuthenticator.`processServerFirstMessage(int length)`
`void` ScramAuthenticator.`processServerMechanismsAndInit()`
`void` ScramAuthenticator.`verifyServerSignature(int length)`

### Uses of RedshiftException in com.amazon.redshift.plugin

Methods in com.amazon.redshift.plugin that throw RedshiftException
`NativeTokenHolder` CommonCredentialsProvider.`getCredentials()`
`NativeTokenHolder` BrowserOktaSAMLCredentialsProvider.`getCredentials()`
`NativeTokenHolder` JwtCredentialsProvider.`getCredentials()`
`String` CommonCredentialsProvider.`getIdpToken()`
`String` BrowserOktaSAMLCredentialsProvider.`getIdpToken()`
`String` JwtCredentialsProvider.`getIdpToken()`
`void` CommonCredentialsProvider.`refresh()`
`void` BrowserOktaSAMLCredentialsProvider.`refresh()`
`void` JwtCredentialsProvider.`refresh()`

### Uses of RedshiftException in com.amazon.redshift.ssl

Methods in com.amazon.redshift.ssl that throw RedshiftException
`static void` MakeSSL.`convert(RedshiftStream stream, Properties info)`
`void` LazyKeyManager.`throwKeyManagerException()` getCertificateChain and getPrivateKey cannot throw exeptions, therefore any exception is stored in `LazyKeyManager.error` and can be raised by this method.
`void` LibPQFactory.`throwKeyManagerException()` Propagates any exception from `LazyKeyManager`.
`void` PKCS12KeyManager.`throwKeyManagerException()` getCertificateChain and getPrivateKey cannot throw exeptions, therefore any exception is stored in `PKCS12KeyManager.error` and can be raised by this method.

Constructors in com.amazon.redshift.ssl that throw RedshiftException
Constructor and Description
`LibPQFactory(Properties info)`
`PKCS12KeyManager(String pkcsFile, CallbackHandler cbh)`

### Uses of RedshiftException in com.amazon.redshift.ssl.jdbc4

Constructors in com.amazon.redshift.ssl.jdbc4 that throw RedshiftException
Constructor and Description
`LibPQFactory(Properties info)` Deprecated. prefer `LibPQFactory`

### Uses of RedshiftException in com.amazon.redshift.util

Methods in com.amazon.redshift.util that throw RedshiftException
`static void` RedshiftProperties.`evaluateProperties(RedshiftProperties properties)`
`static long` RedshiftPropertyMaxResultBufferParser.`parseProperty(String value, String propertyName)` Method to parse value of max result buffer size.

Constructors in com.amazon.redshift.util that throw RedshiftException
Constructor and Description
`RedshiftProperties(Properties info, Properties defaults)` Creates an empty property list with the specified defaults.
`StreamWrapper(InputStream stream)`