ItEr44S16CUAsignacionRecursosEspecificosAPlanificacionItEr37S10: Not throwing checked exceptions. Capturing them and wrap it in a unchecked one.
This commit is contained in:
parent
5bd31b2530
commit
d366de7e4f
1 changed files with 8 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue