Class UnsupportedFeatureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.datastax.driver.core.exceptions.DriverException
-
- com.datastax.driver.core.exceptions.UnsupportedFeatureException
-
- All Implemented Interfaces:
Serializable
public class UnsupportedFeatureException extends DriverException
Exception thrown when a feature is not supported by the native protocol currently in use.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsupportedFeatureException(ProtocolVersion currentVersion, String msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProtocolVersiongetCurrentVersion()-
Methods inherited from class com.datastax.driver.core.exceptions.DriverException
copy
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnsupportedFeatureException
public UnsupportedFeatureException(ProtocolVersion currentVersion, String msg)
-
-
Method Detail
-
getCurrentVersion
public ProtocolVersion getCurrentVersion()
-
-