catch and throw regular exceptions