Xojo.Core.BadDataException

From Xojo Documentation

Class (inherits from RuntimeException)

Raised when the data passed into a function is invalid.

Properties
ErrorNumber Message
Methods
Stack StackFrames

Notes

This typically only applies to the actual data, such as the bytes passed into Xojo.Core.TextEncoding.ConvertDataToText. It can also occur when using String.ToText on a String without an encoding.