Moved exception classes to domain packages