Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Clem <timothy.clem@gmail.com>2012-06-03 20:10:44 +0400
committernulltoken <emeric.fermas@gmail.com>2012-06-03 20:45:03 +0400
commitdd15de908706711b51b7acb24faab726d2b3cb16 (patch)
treef5077b3cec0ad242ad289a4ec220edb42a18e133 /LibGit2Sharp/Core/Ensure.cs
parent5f55b57123e45f94a87d97661d5265a1b7bf8ef4 (diff)
Rename LibGit2Exception to LibGit2SharpException
Diffstat (limited to 'LibGit2Sharp/Core/Ensure.cs')
-rw-r--r--LibGit2Sharp/Core/Ensure.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGit2Sharp/Core/Ensure.cs b/LibGit2Sharp/Core/Ensure.cs
index 91a759c1..24ed4e7d 100644
--- a/LibGit2Sharp/Core/Ensure.cs
+++ b/LibGit2Sharp/Core/Ensure.cs
@@ -78,7 +78,7 @@ namespace LibGit2Sharp.Core
errorMessage = (string)marshaler.MarshalNativeToManaged(error.Message);
}
- throw new LibGit2Exception(
+ throw new LibGit2SharpException(
String.Format(CultureInfo.InvariantCulture, "An error was raised by libgit2. Class = {0} ({1}).{2}{3}",
Enum.GetName(typeof(GitErrorType), error.Klass),
result,
@@ -109,7 +109,7 @@ namespace LibGit2Sharp.Core
return;
}
- throw new LibGit2Exception(string.Format(CultureInfo.InvariantCulture,
+ throw new LibGit2SharpException(string.Format(CultureInfo.InvariantCulture,
"No valid git object identified by '{0}' exists in the repository.",
identifier));
}