Moved exception classes into dedicated namespace