Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Java Interface >

GetJavaException

GetJavaException[]
returns the Java Exception object that was thrown in the most recent call from Mathematica 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 Mathematica.
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team