Hi,
The ERROR static value is missing from the DataTypes class.
Because of that the following code snippet extracted from the example200__MarketPrice__Streaming example doesn't compile anymore.
switch (fieldEntry.loadType())
{
case DataTypes.REAL :
System.out.println(fieldEntry.real().asDouble());
break;
.
.
.
case DataTypes.ERROR :
System.out.println("(" + fieldEntry.error().errorCodeAsString() + ")");
break;
default :
System.out.println();
break;
}
Is DataTypes.ERROR still a relevant data type?
What is the recommended way to deal with field entries that contain errors?