A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw71/LW/html/lw-898.htm below:

java-method-exception

Description

The condition class java-method-exception is signaled when an exception occurs inside a call to a Java method or a constructor. Such exceptions are normal behavior for Java, so these exceptions should in general be handled somehow.

The java-exception accessors (java-exception-exception-name, java-exception-string) can be used on a java-method-exception and are useful for simple handling. For more complex handling, you can use catching-java-exceptions around pieces of your code, and then look at the actual Java exception.

The reader java-method-exception-name returns the name of the Java caller (a Lisp symbol) that caused the exception.

The reader java-method-exception-class-name returns the Java class name of the method or constructor.

The reader java-method-exception-method-name returns the method name if the exception is inside a method, or nil if the exception is inside a constructor.

The reader java-method-exception-args returns the arguments that were passed to the caller.


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