replaced RuntimeException with Ui4jException