added __METHOD__ for exception messages, where method names are mentione...

...d. fixed phpdocs. closes #353.