import java.io.File;

class TryInSwitch {

	public void foo() {
		int i = 42;

		switch (i) {
			default:
				File file;
				try {
					file = new File("...");
					file.delete();
				} catch (Exception e) {
					// ...
				}
				break;
		}
	}
}
