cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

How to achieve Exception Handling in ThingWorx?

ranjank
15-Moonstone

How to achieve Exception Handling in ThingWorx?

 
ACCEPTED SOLUTION

Accepted Solutions

Using try/catch/finally: https://www.w3schools.com/js/js_errors.asp

 

/ Constantine


Vilia (my company) | GitHub | LinkedIn

View solution in original post

5 REPLIES 5

Using try/catch/finally: https://www.w3schools.com/js/js_errors.asp

 

/ Constantine


Vilia (my company) | GitHub | LinkedIn
ranjank
15-Moonstone
(To:Constantine)

Is it possible to use "throw" and "throws" keywords in ThingWorx just like Java?

Hi,

 

Yes, but like in Javascript. Please check the link from Constantine, it is explaining how to use throw.

 

Best regards,

Raluca Edu

rleir
17-Peridot
(To:raluca_edu)
slangley
23-Emerald III
(To:Constantine)

Hi @ranjank.

 

If one of the previous responses answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.

Announcements


Top Tags