Uh oh!
There was an error while loading. Please reload this page.
Change some exception types thrown in Tar APIs - #74845
Conversation
ghost
commented
Aug 30, 2022
Tagging subscribers to this area: @dotnet/area-system-io Issue DetailsAs discussed here: #74786 (comment) @danmoseley would you approve this exception type change for RC2?
|
Uh oh!
There was an error while loading. Please reload this page.
danmoseley
commented
Aug 30, 2022
Yes as getting the API right is important. We do have upstack dependencies (the new docker tooling) but presumably not relying on this error path. |
…or called by all other public conversion constructors. Add missing test gap.
…ble exception should be ArgumentException.
…passed an unreadable stream.
…o ArgumentException.
…stream. Add missing exception docs.
…, adjust docs and tests.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
@bartonjs, this is thrown when TarReader.GetNextEntry() steps into a sparse file, but AFAIK, NotSupportedException is for members that you choose not to support in your type. Do you know if a better exception could be thrown here? |
…ser tries to set an empty string. Add tests.
bartonjs
commented
Aug 31, 2022
There's certainly prior art for throwing FWIW: I feel like I saw places that were using |
carlossanlop
commented
Aug 31, 2022
@bartonjs not tackled yet but I can change them if that exception type is preferred. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
carlossanlop
commented
Aug 31, 2022
/backport to release/7.0 |
Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/2967038898 |
carlossanlop
commented
Sep 2, 2022
CI failures are unrelated infra problems. |
As discussed here: #74786 (comment)
@bartonjs@jozkee
@danmoseley would you approve this exception type change for RC2? Edit: Dan said yes :)