Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-27-2003, 10:34 AM
keyboardmonkey keyboardmonkey is online now
Registered User
 
Join Date: 05-27-2003
Posts: 1
Execute Failure Step

I need to execute my failure step from JScript. I noticed in a previous thread that I should use
throw "Failure"
I keep getting the following message when I use it:
(Exception thrown and not caught)
I do have a failure step called "Failure".

Thanks

Last edited by keyboardmonkey; 05-27-2003 at 10:36 AM.
Reply With Quote
  #2  
Old 05-27-2003, 03:49 PM
pjaquiery pjaquiery is online now
Registered User
 
Join Date: 01-20-2003
Location: Dunedin, New Zealand
Posts: 114
throw "Failure" raises an exception that is handled by the processing in the "Failure Steps" tab. I suspect that it doesn't matter what the text or object is that is thrown and that the failure processing is generic, it handles any failure during "Project Step" processing.

Assuming that to be the case, you can use any text you like for the throw and can then determine from the log where or why the throw happened. Note also that the steps in the "Failure Steps" processing can use %FAILSTEP_NAME% to determine where the failure happened.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 01:45 PM.


Copyright © 1999-2023 Kinook Software, Inc.