Exceptions without a name may get a name extracted out of the message

Signed-off-by: Mohamed Ashraf <mohamed.ashraf.213@gmail.com>
Merge pull request #947 from m0hamed/fix/exception_without_name

Exceptions without a name may get a name extracted out of the message