From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Class (inherits from RuntimeException)

Represents an exception that is not necessarily caused by programmer error but rather something from the OS. A good example is trying to write to a read-only file. Checking the writability in advance introduces a 'time of check to time of use' race condition, so the correct thing actually is to just open it.

ErrorDomain fa-lock-32.png Handle fa-lock-32.png Message
ErrorNumber LocalizedReason fa-lock-32.png UnderlyingError fa-lock-32.png
Stack StackFrames



Name Type Description
POSIXErrorDomain POSIX The error domain for error codes coming from POSIX functions in the form of errno values (Mac and Linux).
WindowsErrorDomain Windows The error domain for error codes coming from Windows functions in the form of HRESULT values.
XojoErrorDomain Xojo The error domain for the framework's cross platform error codes.