add remote exception api