Skip to content

Most visited

Recently visited

navigation
Added in API level 9

SQLFeatureNotSupportedException

public class SQLFeatureNotSupportedException
extends SQLNonTransientException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.sql.SQLException
         ↳ java.sql.SQLNonTransientException
           ↳ java.sql.SQLFeatureNotSupportedException


An exception, which is subclass of SQLNonTransientException, is thrown when various the JDBC driver does not support an optional JDBC feature.

Summary

Public constructors

SQLFeatureNotSupportedException()

Creates an SQLFeatureNotSupportedException object.

SQLFeatureNotSupportedException(String reason)

Creates an SQLFeatureNotSupportedException object.

SQLFeatureNotSupportedException(String reason, String sqlState)

Creates an SQLFeatureNotSupportedException object.

SQLFeatureNotSupportedException(String reason, String sqlState, int vendorCode)

Creates an SQLFeatureNotSupportedException object.

SQLFeatureNotSupportedException(Throwable cause)

Creates an SQLFeatureNotSupportedException object.

SQLFeatureNotSupportedException(String reason, Throwable cause)

Creates an SQLFeatureNotSupportedException object.

SQLFeatureNotSupportedException(String reason, String sqlState, Throwable cause)

Creates an SQLFeatureNotSupportedException object.

SQLFeatureNotSupportedException(String reason, String sqlState, int vendorCode, Throwable cause)

Creates an SQLFeatureNotSupportedException object.

Inherited methods

From class java.sql.SQLException
From class java.lang.Throwable
From class java.lang.Object
From interface java.lang.Iterable

Public constructors

SQLFeatureNotSupportedException

Added in API level 9
SQLFeatureNotSupportedException ()

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

SQLFeatureNotSupportedException

Added in API level 9
SQLFeatureNotSupportedException (String reason)

Creates an SQLFeatureNotSupportedException 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.

Parameters
reason String: the string to use as the Reason string

SQLFeatureNotSupportedException

Added in API level 9
SQLFeatureNotSupportedException (String reason, 
                String sqlState)

Creates an SQLFeatureNotSupportedException object. The Reason string is set to the given reason string, the SQLState string is set to the given SQLState string and the Error Code is set to 0.

Parameters
reason String: the string to use as the Reason string
sqlState String: the string to use as the SQLState string

SQLFeatureNotSupportedException

Added in API level 9
SQLFeatureNotSupportedException (String reason, 
                String sqlState, 
                int vendorCode)

Creates an SQLFeatureNotSupportedException object. The Reason string is set to the given reason string, the SQLState string is set to the given SQLState string and the Error Code is set to the given error code value.

Parameters
reason String: the string to use as the Reason string
sqlState String: the string to use as the SQLState string
vendorCode int: the integer value for the error code

SQLFeatureNotSupportedException

Added in API level 9
SQLFeatureNotSupportedException (Throwable cause)

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

Parameters
cause Throwable: the Throwable object for the underlying reason this SQLException

SQLFeatureNotSupportedException

Added in API level 9
SQLFeatureNotSupportedException (String reason, 
                Throwable cause)

Creates an SQLFeatureNotSupportedException object. The Reason string is set to the given and the cause Throwable object is set to the given cause Throwable object.

Parameters
reason String: the string to use as the Reason string
cause Throwable: the Throwable object for the underlying reason this SQLException

SQLFeatureNotSupportedException

Added in API level 9
SQLFeatureNotSupportedException (String reason, 
                String sqlState, 
                Throwable cause)

Creates an SQLFeatureNotSupportedException object. The Reason string is set to the given reason string, the SQLState string is set to the given SQLState string and the cause Throwable object is set to the given cause Throwable object.

Parameters
reason String: the string to use as the Reason string
sqlState String: the string to use as the SQLState string
cause Throwable: the Throwable object for the underlying reason this SQLException

SQLFeatureNotSupportedException

Added in API level 9
SQLFeatureNotSupportedException (String reason, 
                String sqlState, 
                int vendorCode, 
                Throwable cause)

Creates an SQLFeatureNotSupportedException object. The Reason string is set to the given reason string, the SQLState string is set to the given SQLState string , the Error Code is set to the given error code value, and the cause Throwable object is set to the given cause Throwable object.

Parameters
reason String: the string to use as the Reason string
sqlState String: the string to use as the SQLState string
vendorCode int: the integer value for the error code
cause Throwable: the Throwable object for the underlying reason this SQLException
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.