我正在调查堆栈跟踪,我遇到了这个输出:
Server stack trace:
...
at MyProject.Data.Notifications.NotificationCache.InitialisedCache() in NotificationCache.cs: line 72
at System.Lazy`1.CreateValue()
Exception rethrown at [0]:
at System.Lazy`1.get_Value()
at MyProject.Data.Notifications.NotificationCache.AddItemToCache(NotificationDto dto) in NotificationCache.cs: line 82
bla bla bla
Run Code Online (Sandbox Code Playgroud)
有人可以解释一下这Exception rethrown at [0]:
意味着什么并展示一些如何复制它的简单场景吗?我试图通过 try/catch/throw、try/catch ex/throw ex 等复制它,但我不能。