aboutsummaryrefslogtreecommitdiff
path: root/src/ProtoGen/DependencyResolutionException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ProtoGen/DependencyResolutionException.cs')
-rw-r--r--src/ProtoGen/DependencyResolutionException.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ProtoGen/DependencyResolutionException.cs b/src/ProtoGen/DependencyResolutionException.cs
new file mode 100644
index 00000000..4e483fc1
--- /dev/null
+++ b/src/ProtoGen/DependencyResolutionException.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Google.ProtocolBuffers.ProtoGen {
+ /// <summary>
+ /// Exception thrown when dependencies within a descriptor set can't be resolved.
+ /// </summary>
+ public sealed class DependencyResolutionException : Exception {
+ public DependencyResolutionException(string message) : base(message) {
+ }
+
+ public DependencyResolutionException(string format, params object[] args)
+ : base(string.Format(format, args)) {
+ }
+ }
+}