refactored solap4pyexception