thread exception transfer

0
CPP
cpp
OUTPUT