Version
5.1.2
Context
When the MSSQL client encounters an unsupported data type (e.g. XML), DataType.decodeTypeInfo() throws an UnsupportedOperationException:
// DataType.java — default implementation
public TypeInfo decodeTypeInfo(ByteBuf byteBuf) {
throw new UnsupportedOperationException("Unable to decode typeInfo for " + name());
}
In previous versions (5.0.x), this exception was propagated to the caller, allowing downstream libraries to catch it and provide a meaningful error message.
Since 5.1.0, the exception is no longer propagated. The only exception thrown is ClosedConnectionException
Version
5.1.2
Context
When the MSSQL client encounters an unsupported data type (e.g. XML), DataType.decodeTypeInfo() throws an UnsupportedOperationException:
In previous versions (5.0.x), this exception was propagated to the caller, allowing downstream libraries to catch it and provide a meaningful error message.
Since 5.1.0, the exception is no longer propagated. The only exception thrown is
ClosedConnectionException