How do I handle SharePoint exceptions?

前端 未结 4 1355
天命终不由人
天命终不由人 2021-01-07 00:24

I`m new to SharePoint, so I guess how do I need to handle exceptions? When I write custom code do I have to check for them or maybe, if they are thrown, they automatically g

4条回答
  •  鱼传尺愫
    2021-01-07 01:05

    The general rule with exceptions is you should only catch the exceptions you know how to handle yourself correctly - I don't know if sharepoint logs unhandled exceptions itself, but I think it converts unhandled exceptions into the appropriate SOAP exception in the various web services so it's a good bet that you won't crash the whole app.

提交回复
热议问题