public override void ThrowUserException() { Debug.Assert(Is != null); Is.StartEncapsulation(); try { Is.ThrowException(); } finally { Is.EndEncapsulation(); } }
public override void ThrowUserException() { Debug.Assert(Is != null); try { Is.StartEncapsulation(); Is.ThrowException(); } catch (Ice.UserException ex) { Is.EndEncapsulation(); if (UserException != null) { UserException.Invoke(ex); } throw new Ice.UnknownUserException(ex.ice_id()); } }