Showing content from http://reference.wolfram.com/language/NETLink/ref/$NETExceptionHandler.html below:
$NETExceptionHandler—Wolfram Documentation
WOLFRAM Consulting & Solutions
We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technical expertise
- Data & Computational Intelligence
- Model-Based Design
- Algorithm Development
- Wolfram|Alpha for Business
- Blockchain Technology
- Education Technology
- Quantum Computation
WolframConsulting.com
$NETExceptionHandler
allows you to control how exceptions thrown in .NET are handled in the Wolfram Language.
Details and Options
- To use $NETExceptionHandler, you first need to load .NET/Link using Needs["NETLink`"].
- The default behavior is for exceptions to appear as messages in the Wolfram System. To override this behavior (e.g. to temporarily silence messages from exceptions), assign a value to $NETExceptionHandler.
- The value of $NETExceptionHandler is treated as a function that will be passed three arguments:
- symbol associated with the message usually the symbol NET message tag typically "netexceptn" or "netpexceptn" string description a descriptive string associated with the exception
- The tag "netexceptn" generally is used for a typical exception, while the tag "netpexceptn" is used for exceptions generated by a manual return, where the exception occurs after the function has sent its result back to the Wolfram Language.
- You can use GetNETException in a handler function to obtain the .NET exception object manually.
- Typically, $NETExceptionHandler is assigned in a Block.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4