Moved exceptions into a dedicated package.