PageRenderTime 53ms CodeModel.GetById 30ms app.highlight 2ms RepoModel.GetById 18ms app.codeStats 0ms

/Rhino.Etl.Core/Exceptions/ParameterCountException.cs

http://github.com/ayende/rhino-etl
C# | 48 lines | 22 code | 3 blank | 23 comment | 0 complexity | 4a2e6b5bba7f38a66fed115e9da7eb7d MD5 | raw file
 1namespace Rhino.Etl.Core.Exceptions
 2{
 3    /// <summary>
 4    /// Thrown when an access to a quacking dictionary is made with more than a single
 5    /// parameter
 6    /// </summary>
 7    [global::System.Serializable]
 8    public class ParameterCountException : System.Exception
 9    {
10        /// <summary>
11        /// Initializes a new instance of the <see cref="ParameterCountException"/> class.
12        /// </summary>
13        public ParameterCountException()
14        {
15        }
16
17        /// <summary>
18        /// Initializes a new instance of the <see cref="ParameterCountException"/> class.
19        /// </summary>
20        /// <param name="message">The message.</param>
21        public ParameterCountException(string message) : base(message)
22        {
23        }
24
25        /// <summary>
26        /// Initializes a new instance of the <see cref="ParameterCountException"/> class.
27        /// </summary>
28        /// <param name="message">The message.</param>
29        /// <param name="inner">The inner.</param>
30        public ParameterCountException(string message, System.Exception inner) : base(message, inner)
31        {
32        }
33
34        /// <summary>
35        /// Initializes a new instance of the <see cref="ParameterCountException"/> class.
36        /// </summary>
37        /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
38        /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
39        /// <exception cref="T:System.ArgumentNullException">The <paramref name="info"/> parameter is null. </exception>
40        /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0). </exception>
41        protected ParameterCountException(
42            System.Runtime.Serialization.SerializationInfo info,
43            System.Runtime.Serialization.StreamingContext context)
44            : base(info, context)
45        {
46        }
47    }
48}