changed facade

This commit is contained in:
2018-03-08 16:52:17 +01:00
parent 8d28f1f214
commit 5ce16f8793

View File

@@ -53,8 +53,12 @@ public class Facade implements IFacade {
*/
@Override
public void jump(Worm worm) throws ModelException {
worm.jump();
try {
worm.jump();
}
catch(IllegalStateException e) {
throw new ModelException(e);
}
}
/**