vo_errorblock
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vo_errorblock [2018/03/21 04:57] – wolfgangriedmann | vo_errorblock [2019/08/31 14:46] (current) – wolfgangriedmann | ||
---|---|---|---|
Line 6: | Line 6: | ||
You can set a few default handlers for otherwise unhandled exceptions, but that is far away from the VO functionality. | You can set a few default handlers for otherwise unhandled exceptions, but that is far away from the VO functionality. | ||
- | For compatibility, | + | For compatibility, |
+ | |||
+ | On all other places in the runtime either a normal .net exception is thrown, or the exception is catched and a FALSE returned. | ||
+ | For example: | ||
+ | * Incorrect usual additions throw an exception | ||
+ | * Most argument errors generate an exception | ||
+ | * VODb operations catch an exception (the RDD system | ||
+ | * Low level file operations catch an exception and return either false or F_ERROR, set FError() and store the last exception that occured which can be retrieved with FException(). This is done through the method XSharp.IO.File.setErrorState(). | ||
+ | |||
+ | For more details please see the post by Robert v.d.Hulst: [[https:// | ||
vo_errorblock.txt · Last modified: 2019/08/31 14:46 by wolfgangriedmann