Turns the exception debug logging on or off and prints exception information.
| Category: | Exception |
| Applies to: | Java object |
specifies the name of the Java object.
specifies whether exception
debug logging is on or off. The status argument
can be one of the following values:
specifies that debug logging is off.
specifies that debug logging is on.
| Default | 0 (off) |
| Tip | The status value that is returned by Java is of type DOUBLE, which corresponds to a SAS numeric data value. |
/* Java code */
public class a
{
public void m() throws NullPointerException
{
throw new NullPointerException();
}
} /* DATA step code */
data _null_;
length e 8;
dcl javaobj j('a');
j.exceptiondescribe(1);
rc = j.callvoidmethod('m');
run;java.lang.NullPointerException
at a.m(a.java:5)