[refactor] [test] refactored all exceptions to own namespace and using a library marker interface; use a namespaced exception for each SPL standard Exception used