(new) added Java exceptions support