PRODUCTS
PURCHASE
FOR USERS
COMPANY
OUR SITES
DOCUMENTATION CENTER SEARCH
Java Interface
>
JLink
Symbol
J/Link User Guide
Tutorials »
|
JavaThrow
$JavaExceptionHandler
See Also »
|
Java Exception Handling
More About »
GetJavaException
GetJavaException[]
returns the Java
Exception
object that was thrown in the most recent call from
Mathematica
to Java.
MORE INFORMATION
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
Mathematica
.
SEE ALSO
JavaThrow
$JavaExceptionHandler
TUTORIALS
J/Link
User Guide
MORE ABOUT
Java Exception Handling
© 2008 Wolfram Research, Inc.