Moved core exceptions to new corresponding package.