to top
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<StringClientInfoStatus> failedProperties)
Creates an SQLClientInfoException object.
SQLClientInfoException(Map<StringClientInfoStatus> failedProperties, Throwable cause)
Creates an SQLClientInfoException object.
SQLClientInfoException(String reason, Map<StringClientInfoStatus> failedProperties)
Creates an SQLClientInfoException object.
SQLClientInfoException(String reason, Map<StringClientInfoStatus> failedProperties, Throwable cause)
Creates an SQLClientInfoException object.
SQLClientInfoException(String reason, String sqlState, int vendorCode, Map<StringClientInfoStatus> failedProperties)
Creates an SQLClientInfoException object.
SQLClientInfoException(String reason, String sqlState, int vendorCode, Map<StringClientInfoStatus> failedProperties, Throwable cause)
Creates an SQLClientInfoException object.
SQLClientInfoException(String reason, String sqlState, Map<StringClientInfoStatus> failedProperties)
Creates an SQLClientInfoException object.
SQLClientInfoException(String reason, String sqlState, Map<StringClientInfoStatus> failedProperties, Throwable cause)
Creates an SQLClientInfoException object.
Public Methods
Map<StringClientInfoStatus> 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<StringClientInfoStatus> 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

public SQLClientInfoException (Map<StringClientInfoStatus> 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<StringClientInfoStatus> 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

public SQLClientInfoException (String reason, Map<StringClientInfoStatus> 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<StringClientInfoStatus> 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

public SQLClientInfoException (String reason, String sqlState, int vendorCode, Map<StringClientInfoStatus> 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<StringClientInfoStatus> 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

public SQLClientInfoException (String reason, String sqlState, Map<StringClientInfoStatus> 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<StringClientInfoStatus> 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