FileDocCategorySizeDatePackage
StackTrace.javaAPI DocExample877Thu Feb 14 13:58:50 GMT 2002myprojects.stacktrace

StackTrace

public class StackTrace extends Object

Fields Summary
Constructors Summary
public StackTrace()

		method1();
	
Methods Summary
public static voidmain(java.lang.String[] args)

		System.out.println("Starting StackTrace...");
		StackTrace mainFrame = new StackTrace();
	
public intmethod1()

		return method2();
	
public intmethod2()

		return method3();
	
public intmethod3()

		// Deliberately generate a divide by zero arithmetic exception
		int num=46;
		int denom=0;
		return num/denom;