exceptions.hpp moved into detail/io directory