Skip to content

Commit

Permalink
add exception remarks (open-telemetry#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishweshbankwar authored Aug 18, 2022
1 parent 02945f3 commit 3776024
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/OpenTelemetry.Extensions.PersistentStorage/FileBlobProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ public class FileBlobProvider : PersistentBlobProvider, IDisposable
/// Controls the timeout when writing a buffer to blob.
/// Default is 1 minute.
/// </param>
/// <exception cref="ArgumentNullException">
/// path is null.
/// </exception>
/// <exception cref="DirectoryNotFoundException">
/// invalid path.
/// </exception>
/// <exception cref="PathTooLongException">
/// path exceeds system defined maximum length.
/// </exception>
/// <exception cref="UnauthorizedAccessException">
/// insufficient priviledges for provided path.
/// </exception>
/// <exception cref="NotSupportedException">
/// path contains a colon character (:) that is not part of a drive label ("C:\").
/// </exception>
/// <exception cref="ArgumentException">
/// path contains invalid characters.
/// </exception>
/// <exception cref="IOException">
/// path is either file or network name is not known.
/// </exception>
public FileBlobProvider(
string path,
long maxSizeInBytes = 52428800,
Expand Down

0 comments on commit 3776024

Please sign in to comment.