Exception class.
Fixes #19