From Xojo Documentation

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

Class (inherits from RuntimeException)

You tried to access a Shell that is not available.

ErrorNumber Message
Stack StackFrames


The ShellNotAvailableException error will occur if you try to pass a string for the Shell to execute but it is not available.

Sample Code

This example adds an Exception block that traps for ShellNotAvailableException errors.

Exception e As ShellNotAvailableException
MessageBox("The shell is not available!")

See Also

Shell class.