added throw exception comments.