Adds exception throws to Comm.
Creates new exceptions to handle all the possible errors.