throwing of exceptions