- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- java.sql.SQLNonTransientException
-
- java.sql.SQLFeatureNotSupportedException
-
- All Implemented Interfaces:
Serializable,Iterable<Throwable>
public class SQLFeatureNotSupportedException extends SQLNonTransientException
The subclass ofSQLExceptionthrown when the SQLState class value is '0A' ( the value is 'zero' A). This indicates that the JDBC driver does not support an optional JDBC feature. Optional JDBC features can fall into the fallowing categories:- no support for an optional feature
- no support for an optional overloaded method
- no support for an optional mode for a method. The mode for a method is determined based on constants passed as parameter values to a method
- Since:
- 1.6
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SQLFeatureNotSupportedException()Constructs aSQLFeatureNotSupportedExceptionobject.SQLFeatureNotSupportedException(String reason)Constructs aSQLFeatureNotSupportedExceptionobject with a givenreason.SQLFeatureNotSupportedException(String reason, String SQLState)Constructs aSQLFeatureNotSupportedExceptionobject with a givenreasonandSQLState.SQLFeatureNotSupportedException(String reason, String SQLState, int vendorCode)Constructs aSQLFeatureNotSupportedExceptionobject with a givenreason,SQLStateandvendorCode.SQLFeatureNotSupportedException(String reason, String SQLState, int vendorCode, Throwable cause)Constructs aSQLFeatureNotSupportedExceptionobject with a givenreason,SQLState,vendorCodeandcause.SQLFeatureNotSupportedException(String reason, String SQLState, Throwable cause)Constructs aSQLFeatureNotSupportedExceptionobject with a givenreason,SQLStateandcause.SQLFeatureNotSupportedException(String reason, Throwable cause)Constructs aSQLFeatureNotSupportedExceptionobject with a givenreasonandcause.SQLFeatureNotSupportedException(Throwable cause)Constructs aSQLFeatureNotSupportedExceptionobject with a givencause.
-
Method Summary
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace,
-
-