Community
Participate
Working Groups
Currently, ISnapshot methods may throw CoreException in case of underlying resource failure, and dealing with it in the client code quickly becomes unwieldy, whereas most ISnapshot implementations are not expected to throw it. (Only TextFileSnapshot can throw it for the time being.) Instead of throwing a CoreException in case of underlying resource failure, the affected snapshot could log the error and expire. Although a breaking change, this should make the contract more straightforward.
ISnapshotProvider can also get rid of CoreException.
Pushed to master. commit b07afea03ad8ef589ba799cdd2149c82bfb1a7f7