Imath: exceptions w/o Iex


Owen T.
 

Seeing as we had decided to remove Iex from Imath I wanted to ask what kind of exceptions should be thrown in lieu of those included in Iex.

For instance, Vec2<T>::normalizeExc() will throw NullVecExc as you can't normalize a vector of length 0.

Should it instead now be std::range_error or something else entirely?

Join openexr-dev@lists.aswf.io to automatically receive all group messages.