added link to blog entry when I've found this snippet code & changed throws declarations