ItEr44S16CUAsignacionRecursosEspecificosAPlanificacionItEr37S10: Not throwing checked exceptions. Capturing them and wrap it in a unchecked one.

This commit is contained in:
Óscar González Fernández 2010-01-24 13:51:24 +01:00
parent 5bd31b2530
commit d366de7e4f

View file

@ -82,9 +82,14 @@ public class StretchesFunctionController extends GenericForwardComposer {
reloadStretchesListAndCharts();
}
public void showWindow() throws SuspendNotAllowedException,
InterruptedException {
window.doModal();
public void showWindow() {
try {
window.doModal();
} catch (SuspendNotAllowedException e) {
throw new RuntimeException(e);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
}
public void confirm() throws InterruptedException {