private static DataInputOutputSerdeException MakeFailedToFindException(
     Type clazz,
     bool allowSerializable,
     int numSerdeProviders,
     SerdeProviderAdditionalInfo additionalInfo)
 {
     return(new DataInputOutputSerdeException(
                "Failed to find serde for class '" +
                TypeExtensions.CleanName(clazz) +
                "' for use with " +
                additionalInfo +
                " (" +
                "allowSerializable=" +
                allowSerializable +
                "," +
                "serdeProvider-count=" +
                numSerdeProviders +
                ")"));
 }