Adds 3 exceptions. Currently not used in the code.