250739666d
use throw with error class. fix bug when memcpyDefault resolved to D2D copy.
use throw with error class. fix bug when memcpyDefault resolved to D2D copy.