function X() throws Oops {
okToFail(); // fine if this failure goes up
unexpectedFailure(); // not fine to go up
}
Unfortunately, once you tell the compiler its ok for exeptions to go up, that rule applies to the whole function.