Moved exceptions to their own package