encapsulation: that kind of exception handling should be done in the gui module