Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wrapping up messages in XML
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00888363
Message ID:
00888503
Vues:
22
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform