expose the class_name in an efficient way
authorMarc Horowitz <mhorowitz@fb.com>
Fri, 5 Sep 2014 23:45:24 +0000 (16:45 -0700)
committerAnton Likhtarov <alikhtarov@fb.com>
Fri, 26 Sep 2014 22:24:40 +0000 (15:24 -0700)
commitd7364d7eac8c6667d98332864642cc3ad55e9398
treec8ff16d82b023f6bdd97280d8ec14ca36a09bf77
parent215076a5b55a59612346d1e07929f268c78e8227
expose the class_name in an efficient way

Summary:
Add a class_name method, which doesn't need to throw/catch
regardless how the exception is captured.

Test Plan: exception_wrapper_test

Reviewed By: mshneer@fb.com

Subscribers: njormrod

FB internal diff: D1543596

Tasks: 5025089

Blame Revision:
folly/ExceptionWrapper.h
folly/test/ExceptionWrapperTest.cpp