Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wrapping up messages in XML
Message
From
22/03/2004 09:26:37
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00888363
Message ID:
00888503
Views:
21
>If you have set up a CATCH TO anErrorExceptionObject, can you *before* the CATCH (i.e. in the main area of code) - THROW just a message .e.g THROW "Customer does not exist!" - and this then becomes the message of the ErrorException Object?

As soon as you issue a line like this:
         Throw New System.Exception("You have to login in order to use the Web Service.")
This is the last line that will be executed. That will generate an error on the client side similar to a messagebox alert.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform