#include <xtd.core/include/xtd/threading/thread_state_exception.h>
Helper on xtd::thread_state_exception to call it with current stack frame information.