Update exceptions.hpp