Improved getRelationshipFromMethod LogicException message

Added "assumed" as well as the name of the class and method to make debugging easier. Also refactored the message into a variable so that the lines aren't as many characters long.