diff options
author | Jon Skeet <skeet@pobox.com> | 2008-09-04 15:13:21 +0100 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2008-09-04 15:13:21 +0100 |
commit | 7fd62ffd77ccedfc6dbe2384901b375859b726b6 (patch) | |
tree | 84408cbb58b8256b04fd955abdbcbdf6e9eb8440 /csharp/ProtoGen/DependencyResolutionException.cs | |
parent | 4658a3dd7ebca6de6271071f13bf4f919cc1169b (diff) | |
download | protobuf-7fd62ffd77ccedfc6dbe2384901b375859b726b6.tar.gz protobuf-7fd62ffd77ccedfc6dbe2384901b375859b726b6.tar.bz2 protobuf-7fd62ffd77ccedfc6dbe2384901b375859b726b6.zip |
Initial setup of generator code. Little real functionality so far.
Diffstat (limited to 'csharp/ProtoGen/DependencyResolutionException.cs')
-rw-r--r-- | csharp/ProtoGen/DependencyResolutionException.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/csharp/ProtoGen/DependencyResolutionException.cs b/csharp/ProtoGen/DependencyResolutionException.cs new file mode 100644 index 00000000..4e483fc1 --- /dev/null +++ b/csharp/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)) { + } + } +} |