#31 added more explicit exception