Add forgotten exception class.

I forgot this in a previous set of commits, adding it now.