
public class ExceptionTest {

	public void throwtest() //throws ExceptionTypeA
	{
		//throw new ExceptionTypeA("abc");
		int[] test = new int[1];
		test[0] = 5;
		test[1] = 7;
	}
	
	public void throwtest2()
	{
		throwtest();
	}
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		try
		{
			new ExceptionTest().throwtest2();
		} catch(Exception a)
		{
			System.out.println(a.getMessage());
		}
	}

}
