returns the Java Exception object that was thrown in the most recent call from the Wolfram Language to Java.
GetJavaException
returns the Java Exception object that was thrown in the most recent call from the Wolfram Language to Java.
更多信息和选项
- To use GetJavaException, you first need to load J/Link using Needs["JLink`"].
- GetJavaException returns Null if no exception was thrown in the most recent call.
- GetJavaException can be used in conjunction with $JavaExceptionHandler to implement a custom exception-handling scheme in the Wolfram Language.
技术笔记
文本
Wolfram Research (2007),GetJavaException,Wolfram 语言函数,https://reference.wolfram.com/language/JLink/ref/GetJavaException.html.
CMS
Wolfram 语言. 2007. "GetJavaException." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/JLink/ref/GetJavaException.html.
APA
Wolfram 语言. (2007). GetJavaException. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/JLink/ref/GetJavaException.html 年
BibTeX
@misc{reference.wolfram_2025_getjavaexception, author="Wolfram Research", title="{GetJavaException}", year="2007", howpublished="\url{https://reference.wolfram.com/language/JLink/ref/GetJavaException.html}", note=[Accessed: 22-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_getjavaexception, organization={Wolfram Research}, title={GetJavaException}, year={2007}, url={https://reference.wolfram.com/language/JLink/ref/GetJavaException.html}, note=[Accessed: 22-April-2026]}