UnsupportedFormatException
From Xojo Documentation
Occurs when the supplied information is in an unsupported format. This can happen in many situations, including: using a String expression that cannot be evaluated, a bad Date format or an inaccessible FolderItem path.
Properties | |||
|
Methods | ||
|
Notes
You can use a string expression to set the column widths via the ListColumn class or the ColumnWidths property of the ListBox. You can use the percent sign or the "*" symbol, as described in those sections. If you use a character that is not permitted, an UnsupportedFormatException will occur.
Sample Code
The following specification causes an UnsupportedFormatException runtime error:
Here is a Try statement that catches UnsupportedFormatExceptions inside a For loop.
source = Picture.FromData(file.Data)
Catch err As UnsupportedFormatException
// not a picture
Continue
End Try
See Also
Date, FolderItem, ListBox, ListColumn, RuntimeException classes; Exception, Try statements.