trycatch
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
trycatch [2018/01/28 07:28] – wolfgangriedmann | trycatch [2018/02/06 07:22] – meinhardschnoor | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Try - Catch ====== | ====== Try - Catch ====== | ||
- | The Try - Catch block is very important, and should be used where an error can occurr, for example if a file that needs to be read does not exist, you are specifying an invalid path, the current user has not the rights to read and so forth - please read the documentation about [[https:// | + | The '' |
In classic VO and Win32 applications, | In classic VO and Win32 applications, | ||
Line 32: | Line 32: | ||
return</ | return</ | ||
- | If you don't use the Try - Catch block, your program is terminated with a unspecified error, and you will not be able to understand what really occurred. | + | If you don't use the '' |
+ | Please see also here: [[exceptions|Exceptions]] | ||
trycatch.txt · Last modified: 2018/08/20 04:05 by wolfgangriedmann