Ref class try