annotate Implab/Parsing/ParserException.cs @ 68:9dd6a896a385

ServiceLocator: small refactoring, GetService method is made virtual
author cin
date Thu, 28 Aug 2014 02:28:00 +0400
parents c0bf853aa04f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
55
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
1 using System;
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
2 using System.Collections.Generic;
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
3 using System.Linq;
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
4 using System.Text;
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
5
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
6 namespace Implab.Parsing {
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
7 [Serializable]
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
8 public class ParserException : Exception {
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
9 public ParserException() { }
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
10 public ParserException(string message) : base(message) { }
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
11 public ParserException(string message, Exception inner) : base(message, inner) { }
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
12 protected ParserException(
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
13 System.Runtime.Serialization.SerializationInfo info,
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
14 System.Runtime.Serialization.StreamingContext context)
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
15 : base(info, context) { }
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
16 }
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
17 }