Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

SQLClientInfoException

extends SQLException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.sql.SQLException
         ↳ java.sql.SQLClientInfoException

Class Overview

An exception, which is subclass of SQLException, is thrown when one or more client info properties could not be set on a Connection.

Summary

Public Constructors
SQLClientInfoException ()
Creates an SQLClientInfoException object.
)">SQLClientInfoException ( Map < String ClientInfoStatus > failedProperties)
Creates an SQLClientInfoException object.
, java.lang.Throwable)">SQLClientInfoException ( Map < String ClientInfoStatus > failedProperties, Throwable cause)
Creates an SQLClientInfoException object.
)">SQLClientInfoException ( String reason, Map < String ClientInfoStatus > failedProperties)
Creates an SQLClientInfoException object.
, java.lang.Throwable)">SQLClientInfoException ( String reason, Map < String ClientInfoStatus > failedProperties, Throwable cause)
Creates an SQLClientInfoException object.
)">SQLClientInfoException ( String reason, String sqlState, int vendorCode, Map < String ClientInfoStatus > failedProperties)
Creates an SQLClientInfoException object.
, java.lang.Throwable)">SQLClientInfoException ( String reason, String sqlState, int vendorCode, Map < String ClientInfoStatus > failedProperties, Throwable cause)
Creates an SQLClientInfoException object.
)">SQLClientInfoException ( String reason, String sqlState, Map < String ClientInfoStatus > failedProperties)
Creates an SQLClientInfoException object.
, java.lang.Throwable)">SQLClientInfoException ( String reason, String sqlState, Map < String ClientInfoStatus > failedProperties, Throwable cause)
Creates an SQLClientInfoException object.
Public Methods
Map < String ClientInfoStatus > getFailedProperties ()
returns that the client info properties which could not be set
[Expand]
Inherited Methods
From class java.sql.SQLException
From class java.lang.Throwable
From class java.lang.Object
From interface java.lang.Iterable

Public Constructors

public SQLClientInfoException ()

Added in API level 9

Creates an SQLClientInfoException object. The Reason string is set to null, the SQLState string is set to null and the Error Code is set to 0.

)">

public SQLClientInfoException ( Map < String ClientInfoStatus > failedProperties)

Added in API level 9

Creates an SQLClientInfoException object. The Reason string is set to the given reason string, the SQLState string is set to null and the Error Code is set to 0, and the Map object is set to the failed properties.

Parameters
failedProperties the Map object to use as the property values
, java.lang.Throwable)">

public SQLClientInfoException ( Map < String ClientInfoStatus > failedProperties, Throwable cause)

Added in API level 9

Creates an SQLClientInfoException object. The Reason string is set to the null if cause == null or cause.toString() if cause!=null, the cause Throwable object is set to the given cause Throwable object, and the Map object is set to the failed properties.

Parameters
failedProperties the Map object to use as the property values
cause the Throwable object for the underlying reason this SQLException
)">

public SQLClientInfoException ( String reason, Map < String ClientInfoStatus > failedProperties)

Added in API level 9

Creates an SQLClientInfoException object. The Reason string is set to reason, and the Map object is set to the failed properties.

Parameters
reason the string to use as the Reason string
failedProperties the Map object to use as the property values
, java.lang.Throwable)">

public SQLClientInfoException ( String reason, Map < String ClientInfoStatus > failedProperties, Throwable cause)

Added in API level 9

Creates an SQLClientInfoException object. The Reason string is set to reason, the cause Throwable object is set to the given cause Throwable object, and the Map object is set to the failed properties.

Parameters
reason the string to use as the Reason string
failedProperties the Map object to use as the property values
cause the Throwable object for the underlying reason this SQLException
)">

public SQLClientInfoException ( String reason, String sqlState, int vendorCode, Map < String ClientInfoStatus > failedProperties)

Added in API level 9

Creates an SQLClientInfoException object. The Reason string is set to reason, the SQLState string is set to the sqlState, the Error Code is set to the vendorCode and the Map object is set to the failed properties.

Parameters
reason the string to use as the Reason string
sqlState the string to use as the SQLState string
vendorCode the integer value for the error code
failedProperties the Map object to use as the property values
, java.lang.Throwable)">

public SQLClientInfoException ( String reason, String sqlState, int vendorCode, Map < String ClientInfoStatus > failedProperties, Throwable cause)

Added in API level 9

Creates an SQLClientInfoException object. The Reason string is set to reason, the SQLState string is set to the sqlState, the Error Code is set to the vendorCode the cause Throwable object is set to the given cause Throwable object, and the Map object is set to the failed properties.

Parameters
reason the string to use as the Reason string
sqlState the string to use as the SQLState string
vendorCode the integer value for the error code
failedProperties the Map object to use as the property values
cause the Throwable object for the underlying reason this SQLException
)">

public SQLClientInfoException ( String reason, String sqlState, Map < String ClientInfoStatus > failedProperties)

Added in API level 9

Creates an SQLClientInfoException object. The Reason string is set to reason, the SQLState string is set to the sqlState, and the Map object is set to the failed properties.

Parameters
reason the string to use as the Reason string
sqlState the string to use as the SQLState string
failedProperties the Map object to use as the property values
, java.lang.Throwable)">

public SQLClientInfoException ( String reason, String sqlState, Map < String ClientInfoStatus > failedProperties, Throwable cause)

Added in API level 9

Creates an SQLClientInfoException object. The Reason string is set to reason, the SQLState string is set to the sqlState, the Error Code is set to the vendorCode, and the Map object is set to the failed properties.

Parameters
reason the string to use as the Reason string
sqlState the string to use as the SQLState string
failedProperties the Map object to use as the property values
cause the Throwable object for the underlying reason this SQLException

Public Methods

public Map < String ClientInfoStatus > getFailedProperties ()

Added in API level 9

returns that the client info properties which could not be set

Returns
  • the list of ClientInfoStatus objects indicate client info properties