Package io.delta.kernel.exceptions
Class UnsupportedProtocolVersionException
Object
Throwable
Exception
RuntimeException
io.delta.kernel.exceptions.KernelException
io.delta.kernel.exceptions.UnsupportedProtocolVersionException
- All Implemented Interfaces:
Serializable
Exception thrown when Kernel encounters unsupported protocol versions.
- Since:
- 4.1.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnum representing the type of Delta protocol version. -
Constructor Summary
ConstructorsConstructorDescriptionUnsupportedProtocolVersionException(String tablePath, int version, UnsupportedProtocolVersionException.ProtocolVersionType versionType) -
Method Summary
Modifier and TypeMethodDescriptionintMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedProtocolVersionException
public UnsupportedProtocolVersionException(String tablePath, int version, UnsupportedProtocolVersionException.ProtocolVersionType versionType)
-
-
Method Details
-
getTablePath
- Returns:
- the table path where the unsupported protocol was encountered
-
getVersion
public int getVersion()- Returns:
- the unsupported protocol version
-
getVersionType
- Returns:
- the type of protocol version (READER or WRITER)
-