package com.mycompany.myproject;

public class MyClass {
	public String replaceExample(String theString, int theInt) {
		System.out.println("method entry");

		try {
			doSomethingVeryDangerous();
		} catch (UniverseGoneInsaneException myexception) {
			myexception.printStackTrace();
			executeBigBang();
		}

		if (no_exception_is_available) {
			System.err.println("Something went wrong"); //outside catch block
		}

		System.out.println("method exit");
		return toString();
	}
}