Finished error handling in the netcomm class