fixed missing $throw method to native call.