import java.io.*;

class exceptions {
	public static void main(String[] args)
       	{
		try {
			TestClass t = new TestClass();
		} catch(MyException e) {
			System.err.println(e);
		} finally {
			System.out.println("Finally!");
		}
		System.out.println("Weiter...");
	}
}

class TestClass {
	TestClass() throws MyException
	{
		System.out.println("TestClass");
		throw new MyException("Bang!");	
	}
}

