spotdig.blogg.se

Xojo error handling
Xojo error handling







xojo error handling

SOAPExceptions can be raised when using a WSDL to define your SOAP function. You tried to access an asynchronous or interactive shell session, but the shell was not running. Raised if no session is available to attach to a control. You tried to use the RegistryItem class without proper access privileges or tried to use it under any Macintosh OS or Linux. In the future, other types of regular expression exceptions may be added. Currently this means that you used an invalid search pattern in a Regular Expression. The RegEx engine issued a runtime exception. The user tried to modify an XojoScript that is already executing or tried to modify the context of the script while it is running. Raised when a feature is not supported on a specific platform.

xojo error handling

Raised in certain cases when an operation cannot be completed due to insufficient memory.

#XOJO ERROR HANDLING CODE#

Handle errors in Office Automation code via the OLEException class.Īn attempt was made to read from or write to a value, character, or element outside the bounds of the object or data type. Raised in a web application when a control is created with the WebSDK but is missing its JavaScript namespace.Ī network exception occurred with URLConnection.Īn attempt was made to access an object that does not exist.Īn Objective-C exception around a Declare statement.Īn OLE-related runtime exception occurred. Currently only applies to Cocoa applications. You tried to get the parent of a control using the Parent property of the Control class, but its parent is in a different window.Īn error occurred while creating or opening a file.Ī method of the Keychain or KeychainItem classes failed.Īn attempt was made to access a Dictionary item with a key that the dictionary does not contain.Ī MenuItem has been used several times. The value you passed to ParseJSON was not valid JSON. Raised when an invalid argument is passed to a function. Mutex Enter and Leave calls are in the wrong order. You cast an object to a different class and sent it a message its real class can't accept. There was an error parsing the HTML using HTMLViewer. See EndException for very important information.Ī function declared using the Declare statement's "Soft" keyword could not be loaded. Quit was called, causing the application to quit gracefully. There was a problem using a Crypto function.

xojo error handling

Raised anytime an exception occurs within any ActiveX/COM component that has been added to your project. For example, reading from or writing to an array element that does not exist will generate an OutOfBoundsException. Use runtime exceptions to trap errors so they can be handled. PropertiesĬonstructor(message As String="", errorCode As Integer=0)









Xojo error handling