Difference between revisions of "PlatformNotSupportedException"

From Xojo Documentation

(See Also)
 
Line 6: Line 6:
 
}}
 
}}
 
{{Description
 
{{Description
|text = Raised if a method is only for a particular platform but it was called from another platform. The functions [[FolderItem.MacFSRef]] and [[FolderItem.CreateFromMacFSRef]] raise this exception if called from Windows or Linux. }}
+
|text = Raised when a method is called on a platform that does not support it.}}
  
 
<dynamicTable id="Properties" super="RuntimeException" class="propertyTable" title="Properties" columns="3">
 
<dynamicTable id="Properties" super="RuntimeException" class="propertyTable" title="Properties" columns="3">
Line 13: Line 13:
 
<dynamicTable id="Methods" super="RuntimeException" class="methodTable" title="Methods" columns="3">
 
<dynamicTable id="Methods" super="RuntimeException" class="methodTable" title="Methods" columns="3">
 
</dynamicTable>
 
</dynamicTable>
 +
 +
==Notes==
 +
A good example of this would be attempting to use the [[KeyChain]] class on Windows or the [[RegistryItem]] class on macOS.
  
 
==See Also==
 
==See Also==

Latest revision as of 16:10, 5 March 2021

Class (inherits from RuntimeException)


New in 2010r5

Raised when a method is called on a platform that does not support it.

Properties
ErrorNumber Message
Methods
Stack StackFrames

Notes

A good example of this would be attempting to use the KeyChain class on Windows or the RegistryItem class on macOS.

See Also

RuntimeException.