I don't get why you raise an error then throw an exception. Is there some magic happening during raiseConsistencyError?